diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-12-05 13:45:39 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-12-05 14:40:29 -0500 |
commit | 4565a73e91b4beef08e76b2d23c58529f8203a91 (patch) | |
tree | 4aa2864f94bdcc105d63b235b0d37bb69d4bc7d0 /scripts | |
parent | 9c932ad514cbf5d8ab9573b16aeceabb11ecfebf (diff) | |
download | kutter-4565a73e91b4beef08e76b2d23c58529f8203a91.tar.gz kutter-4565a73e91b4beef08e76b2d23c58529f8203a91.tar.xz kutter-4565a73e91b4beef08e76b2d23c58529f8203a91.zip |
stepcompress: Optimize push_delta_const() for common XY or Z only moves
Most moves are on the XY plane - avoid a few multiplications in the
inner loop in this case. When there is a Z move, it is almost always
entirely a Z move - avoid the sqrt() call in the inner loop in this
case.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions