Quote Originally Posted by jlmccuan View Post
GCode can be very compact as well. It has logic, loops, if/then, can be run in absolute or relative units, have multiple work offsets, tool changes, etc. Most slicers and low end programming packages simply run in a more verbose format for the simplicity of debugging. Many even change arcs and circles to line segments rather than center point radius and angle functions.
Even at a command for command equal redo in the code I am using it saves a lot of space, as I am using 16 bit integers with a 8 bit command. G-Code uses ASCII text, with space characters and new line characters between portions of commands, and at least 3 bytes for the command plus at least three bytes per parameter.

I am adding some more looping to mine as I go already, the above form is early development.