Verify that association query objects are created outside tight loops
Query objects (e.g.
FindMany) do a lot of work on creation.
They should be created outside tight loops and with as input all the objects we want the associations of.
#3 Updated by Gianluca Petrillo over 6 years ago
- Category set to Other
- % Done changed from 0 to 10
- Estimated time set to 80.00 h
The following classes contain
FindManyP objects inside loops:
I will address a very few of them personally.
The authors will be contacted to fix the code.
#5 Updated by Gianluca Petrillo over 5 years ago
- Status changed from Assigned to Closed
Closing for lack of activity.
I consider the degree of solution we reached to be satisfactory.
No place with relevant issues persists. The remaining few instances would not be a problem as they are not in tight loops.
Furthermore, upstream optimization of the query objects would dramatically mitigate such problems if they existed.