object_pool, O(N) destroy?
Hi, I am considering using boost::object_pool for fast allocation and deallocation of likkle container/token objects. I need to make this as fast as possible, to this end I wonder why object_pool seems to use boost::pool::ordered_free() (O(N)) rather than the faster free() (O(1))? There must be a reason, but I can't seem to find it in the Lib's documentation. I would be interested in hearing if peoples experiences/comments on using object_pool. Thanks for reading! Kevin\
HI, I've just downloaded the newest boost lib incl the boost-build bins for Win32. When I invoked the building with "borland", the regexp lib built well while the thread lib failed, among other error msg there was a "Unknown -tCTMW" flag (or something similiar - I actually cannot recall it more accurate). I've just scanned the FAQ, the Wiki pags,... but cannot find any hints. Ah, and I've read the README of the boost-build (by Vladimir Prus?) and there was stated that his version changes the autoexec.bat and that he's just recently learned that some Win versions don't use this autoexec.bat.. Is this a completely out-of-date version??? Thanks for any hints why one lib builds fine (regexp) and another one fails (thread) with this new building scheme and what I can do to get the threads compiled. Any makefile would be appreciated, too - I am familiar with that but unfortunately not with the Jam files, which, if I remember correctly should ease that procedure? By the way, the regexp comes together with some makefiles, even with a BCB5.mak for the compiler I am using - Borland C++ Builder 5. Ali -- Albrecht Fritzsche, Software Developer alfabet meta-modeling AG, leibnizstr. 53, 10629 berlin, germany http://www.alfabet.de
participants (2)
-
Albrecht Fritzsche
-
kevin_godden@agilent.com