aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/graphstats.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-12-05 13:45:39 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-12-05 14:40:29 -0500
commit4565a73e91b4beef08e76b2d23c58529f8203a91 (patch)
tree4aa2864f94bdcc105d63b235b0d37bb69d4bc7d0 /scripts/graphstats.py
parent9c932ad514cbf5d8ab9573b16aeceabb11ecfebf (diff)
downloadkutter-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/graphstats.py')
0 files changed, 0 insertions, 0 deletions