[PATCH][Hashtable 2/6] Avoid over-sizing container

2019-11-17 Thread François Dumont
This patch avoids over-sizing of the container by rather considering the bucket count hint or potential reservation. It concerns only the non-multi containers.     * include/bits/hashtable.h     (_Hashtable<>(_InputIterator, _InputIterator, size_t, const _H1&,     const _H2&, const _Hash&, cons

Re: [PATCH][Hashtable 2/6] Avoid over-sizing container

2020-07-17 Thread Jonathan Wakely via Gcc-patches
On 17/11/19 21:56 +0100, François Dumont wrote: This patch avoids over-sizing of the container by rather considering the bucket count hint or potential reservation. It concerns only the non-multi containers.     * include/bits/hashtable.h     (_Hashtable<>(_InputIterator, _InputIterator