|
Boost Users : |
From: tricycle (tricycle_at_[hidden])
Date: 2007-03-01 05:54:47
The most important reason to use a memory pool is performance. BUT object_pool
doesn't!
When I use object_pool to construct a lot of objects, the destroy method
become very slow. And I found object_pool use ordered_free to free the memory,
and it amortized O(N). It is a very serious problem, I hope it can be fixed in
the next release.
thanks.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net