Optimize hashtable allocator
Paolo Carlini
paolo.carlini@oracle.com
Fri Nov 2 01:02:00 GMT 2012
Hi,
On 11/01/2012 10:03 PM, François Dumont wrote:
> Attached patch applied.
>
> 2012-11-01 François Dumont <fdumont@gcc.gnu.org>
>
> * include/bits/hashtable_policy.h (__details::_Before_begin<>):
> New, combine a base node instance and an allocator.
> * include/bits/hashtable.h (_Hashtable<>::_M_node_allocator): Remove.
> (_Hashtable<>::_M_before_begin): Rename into _M_bbegin and type
> modified to __detail::_Before_begin<>.
> (_Hashtable<>::_M_node_allocator()): New, get the node allocator
> part of _M_bbegin.
> (_Hashtable<>::_M_before_begin()): New, get the before begin node
> part of _M_bbegin.
> (_Hashtable<>): Adapt to use latter.
guys, is it possible that some prettyprinting tests are failing again
because of this change?
FAIL: libstdc++-prettyprinters/cxx11.cc print uom
FAIL: libstdc++-prettyprinters/cxx11.cc print uomm
FAIL: libstdc++-prettyprinters/cxx11.cc print uos
FAIL: libstdc++-prettyprinters/cxx11.cc print uoms
Sorry for bothering ;)
Paolo.
More information about the Libstdc++
mailing list