-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[FR] Cache part requirements #11211
Copy link
Copy link
Open
Labels
area/BOMrelated to BOM/assembly logic and possible engine improvementsrelated to BOM/assembly logic and possible engine improvementsenhancementThis is an suggested enhancement or new featureThis is an suggested enhancement or new featurefeature
Milestone
Metadata
Metadata
Assignees
Labels
area/BOMrelated to BOM/assembly logic and possible engine improvementsrelated to BOM/assembly logic and possible engine improvementsenhancementThis is an suggested enhancement or new featureThis is an suggested enhancement or new featurefeature
Problem statement
Part "requirement" data is expensive to compute dynamically - and is only becoming more so.
Functionally this data does not change frequently but it used in many "on the fly" database annotations.
Requirement data includes:
These quantities should include:
Suggested solution
Such a feature would also require that we add a number of hooks to re-calculate the requirements data when the underlying instances change. However we can at least point to a single function which provides a single "source of truth" for each part.