On Fri, 2011-02-04 at 21:33 -0800, Joseph Powers wrote: > hash_map.resize( list.size ) > The issue here is that unordered_map doesn't have a resize() method so > we can no longer do this micro-optimization.
hash_map::resize(n) "Increases the bucket count to at least n.", so unordered_map::rehash(size_type n); "Changes the number of buckets so that there at least n buckets", should be equivalent FWIW. C. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice