r114129 - in /branches/gcc-4_1-branch/libstdc++...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Fri May 26 11:15:00 GMT 2006
Author: paolo
Date: Fri May 26 11:15:23 2006
New Revision: 114129
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114129
Log:
2006-05-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/hashtable: Minor cosmetic changes.
2006-05-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/hashtable (hashtable<>::m_find): Remove; update callers.
* include/tr1/hashtable (map_base<>::operator[]): Move out of line.
* include/tr1/hashtable (hashtable<>::m_insert(const value_type&,
std::tr1::false_type)): Avoid memory leak risk for new_node.
2006-05-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/hashtable (hashtable<>::m_find, m_insert_bucket): Add.
(hashtable<>::find, m_insert(const value_type&, std::tr1::true_type),
map_base<>::operator[]): Use the above.
* testsuite/performance/23_containers/insert/unordered_map_array.cc:
New.
* include/tr1/hashtable (hashtable<>::find_node,
insert(const value_type&, ...), erase_node): Rename to m_*, adjust
callers.
* include/tr1/hashtable: Minor cosmetic changes.
Added:
branches/gcc-4_1-branch/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_map_array.cc
Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/tr1/hashtable
More information about the Gcc-cvs
mailing list