Change
Faster topic iteration
Issue description
When a type t1 is iterated, either through an "Tobject::all_t1" or through "get_all_t1s", there should be no sql statement involved whatsoever. Currently this is the case for the prior, but not for the latter. Try to find a common solution.
Developer comments
This had a huge impact on performance on any service which iterates over instances, which is almost all. It dramatically reduces the number of SQL statements for Tobject creation to 0 whenever they are created in an iteration context. A report that used to took 77 seconds before the change was reduced to 40 seconds. Quite a success.
It also turned out that tobject can be also made to use less memory. See [6436, this issue].
|
Work sessions
Start |
2016-12-02T11:26:35
|
End |
2016-12-02T16:50:46
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.