On 1/4/13 4:04 AM, Ondrej Bilka wrote:
Profiling will reveal that you spend 5% time in insert and 3% time in
remove. You spend two weeks optimizing your tree and memory allocator
for it.
The call tree, accumulating these costs in different parent contexts, when correlated to the fact that (presumably) the containers being acted upon are different containers, can suggest a change to a specialized container type depending on the access pattern...

Marcus
_______________________________________________
fonc mailing list
fonc@vpri.org
http://vpri.org/mailman/listinfo/fonc

Reply via email to