Boost logo

Boost Users :

Subject: Re: [Boost-users] Default table size of unordered map
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2009-06-30 22:35:35


On Tue, Jun 30, 2009 at 9:18 PM, MeMooMeM<mbelgin_at_[hidden]> wrote:
> What is the default table size of unordered maps in boost? I am trying to
> figure out how scalable this function is. My guess is that boost assumes a
> default initial table length. If it is exceeded, it needs to re-create
> hashes for all entries to grow it, which is costly. I would like to find
> that threshold...
>
> Thanks so much!

See http://www.boost.org/doc/libs/1_39_0/doc/html/unordered/buckets.html#unordered.buckets.controlling_the_number_of_buckets
--DD


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