This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] Document implementation-defined bucket counts
On 8 January 2013 20:14, François Dumont wrote:
> I hadn't notice that default bucket count for range constructors was 0.
> That's surprising as the equivalent on internal _Hashtable type is 10 like
> for the other constructors. Why not generalizing to 10 ? The advantages
> would be:
> - doc simplification
> - constructors consistency
>
> 0 is also surprising for a container that has such an important memory
> overhead that creating it to store 1 or 2 elements looks like using a tank
> to kill a fly.
Yes, good question and good points. I don't know the answers, I was
just documenting what we have, as required for any
implementation-defined properties.