From: "David Abrahams" <[EMAIL PROTECTED]> > > > > Your test doesn't seem to terminate for me in a reasonable amount of > > time (minutes) in any configuration. > > That was Cygwin GCC-3.2.
You made me download it. GNU C++ version 3.2 20020927 (prerelease) Cygwin GNU libstdc++ version 20020927 BOOST_HAS_THREADS: (not defined) BOOST_SP_USE_STD_ALLOCATOR: (not defined) BOOST_SP_USE_QUICK_ALLOCATOR: (not defined) 1048576 shared_ptr<int> allocations + deallocations: 1.281 seconds. 1.552 seconds. 1.232 seconds. 1048576 shared_ptr<X> allocations + deallocations: 0.901 seconds. 0.912 seconds. 0.922 seconds. 1048576 shared_ptr<Y> allocations + deallocations: 1.542 seconds. 0.992 seconds. 1.072 seconds. 1048576 shared_ptr<Z> allocations + deallocations: 1.272 seconds. 1.572 seconds. 1.222 seconds. GNU C++ version 3.2 20020927 (prerelease) Cygwin GNU libstdc++ version 20020927 BOOST_HAS_THREADS: (not defined) BOOST_SP_USE_STD_ALLOCATOR: (defined) BOOST_SP_USE_QUICK_ALLOCATOR: (not defined) 1048576 shared_ptr<int> allocations + deallocations: 1.041 seconds. 1.111 seconds. 1.091 seconds. 1048576 shared_ptr<X> allocations + deallocations: 0.901 seconds. 0.821 seconds. 0.831 seconds. 1048576 shared_ptr<Y> allocations + deallocations: 1.442 seconds. 0.831 seconds. 0.831 seconds. 1048576 shared_ptr<Z> allocations + deallocations: 1.022 seconds. 1.092 seconds. 1.011 seconds. GNU C++ version 3.2 20020927 (prerelease) Cygwin GNU libstdc++ version 20020927 BOOST_HAS_THREADS: (not defined) BOOST_SP_USE_STD_ALLOCATOR: (not defined) BOOST_SP_USE_QUICK_ALLOCATOR: (defined) 1048576 shared_ptr<int> allocations + deallocations: 1.632 seconds. 1.052 seconds. 1.032 seconds. 1048576 shared_ptr<X> allocations + deallocations: 0.862 seconds. 0.761 seconds. 0.771 seconds. 1048576 shared_ptr<Y> allocations + deallocations: 1.432 seconds. 0.761 seconds. 0.761 seconds. 1048576 shared_ptr<Z> allocations + deallocations: 0.962 seconds. 1.062 seconds. 1.062 seconds. std::allocator is good, but if you replace the "quick hack" deque with something that allocates bigger pages, you may get rid of the warm up cost. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost