Add Vec of lot_num's field to ActionRecord, so the AR knows which lots it is in. #17

Open
opened 2025-07-08 08:35:34 -04:00 by AtHeartEngineer · 0 comments

Originally created by @scoobybejesus on 9/25/2019

There is an Impl ActionRecord that iterates over all Lots (of its Account) to find the Movements the ActionRecord begat. It may be wise to cache lot_num values (which are cached in the Movements already) in a new ActionRecord field.

The fn is called several times throughout the code. This could save a lot of searching, particularly in cases where the number of lots is extremely large.

*Originally created by @scoobybejesus on 9/25/2019* There is an `Impl` ActionRecord that iterates over all Lots (of its Account) to find the Movements the ActionRecord begat. It may be wise to cache `lot_num` values (which are cached in the Movements already) in a new ActionRecord field. The `fn` is called several times throughout the code. This could save a lot of searching, particularly in cases where the number of lots is extremely large.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/cryptools#17