Closed tcalmant closed 8 years ago
Commit 1406707 seems to increase the speed of the instantiation of multiple components, but decreases the speed of their destruction. (investigating)
The optimisation of the service registry gives a sufficient gain before releasing 0.6.3. The decrease of performance while stopping the framework will be investigated for 0.6.4.
The decrease of performance doesn't appear every time, and it seems to be due to the way data structures work. Therefore, they'll be no evolution on this issue unless the time needed to stop the framework cleanly causes real troubles.
The
@Requires
injects lists in instances when working with aggregated dependencies. When a new dependency is found, it is appended to the list, which therefore not sorted according to service ranking, but keeps item in place.We should check if using
collections.deque
would be more efficient, as it is optimized for right-append operations.