[Libreoffice] Master Build Status

Caolán McNamara caolanm at redhat.com
Sat Feb 5 08:11:25 PST 2011


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.




More information about the LibreOffice mailing list