sim: avoid step looking for new actions every time
authorJoey Hess <joeyh@joeyh.name>
Mon, 23 Sep 2024 19:50:47 +0000 (15:50 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 23 Sep 2024 19:50:47 +0000 (15:50 -0400)
commiteec07aec6825a0468b2af4287fa9cea176893358
treeb9a6c8c08a15d52045976620c6318cec3d1b85f1
parent969e6c2747a40e0889f79bf9e2adaa776890eced
sim: avoid step looking for new actions every time

Once it has a list of actions, it can perform them all.

A disappointing optimisation at least in my test case, which it sped up
by less than 1 second out of 12. But still it did make it faster.
Annex/Sim.hs