Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-01-19 15:55:51


"Martin Wartens" <martin.wartens_at_[hidden]> wrote in message
news:380-22005121815022188_at_my-mail.ch...
Hi,
has anybody tried the implementation of unordered map that can be found at
http://groups.yahoo.com/group/boost/files/jtc1-sc22-wg21-2003-n1456.tar.gz ?
I believe there is a bug in the rehash function of the underlying
hash_table. The new bucket indices are computed using the old number of
buckets. That means that the items stored in these buckets cannot be found
anymore later.
----------
hm...it seems like you have found a bug I didn't have the time to track down
:-)

I checked my hash function and it seems to be right. The bug doesn't seem
to show if the trivial hash function that comes with this package is used
(maps val->val).

BTW: what is the reason behind burying potentially useful code in a place
where nobody can find it? (I mean the "yahoo groups") Is there still life
in the development of this package?
---------------
Probably not...it has been impossible to contact the author for some time.

-Thorsten


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