TacticalMetaphysics / LiSE

Rules-based engine for life sims, with time travel
GNU Affero General Public License v3.0
116 stars 9 forks source link

Speed up snap_keyframe a lot #101

Closed clayote closed 1 year ago

clayote commented 1 year ago

Now the snap_keyframe method will take advantage of the fast delta algorithm to update the previous keyframe rapidly.

The engine previously appeared to hang when snapping a keyframe on a grid of, say, 100x100. It was actually just performing that badly. It's not bad now.

Fixes #98