7 |
other backing memory) and a special purpose allocator that can take |
other backing memory) and a special purpose allocator that can take |
8 |
advantage of the fact that all objects are of the same size. |
advantage of the fact that all objects are of the same size. |
9 |
|
|
10 |
In addition, such objects usually have an initial stage that is |
In addition, such objects usually have an initial stage that they |
11 |
naturally returned to when the object is not needed anymore. For |
naturally return to when the objects are no longer needed. For |
12 |
example locks are unlocked, reference counters are zero, etc. In such |
example locks are unlocked, reference counters are zero, etc. In such |
13 |
a situation, performance can be further increased by caching the |
a situation, performance can be further increased by caching the |
14 |
unused objects, instead of destroying them. |
unused objects, instead of destroying them. |