------- Comment #2 from pcarlini at suse dot de 2006-02-22 17:23 ------- (In reply to comment #1) > Just curious: is the assumption of prime-size buckets hardwired in the TR? > Otherwise, the obvious alternative would be to use power-of-two sizes, which > are much faster in access.
Yes. Really, I have yet to study the issue in detail (Knuth...), I'm going to do that. For sure TR1 doesn't mandate a specific policy, but we have got a default policy, prime_rehash_policy, which is definitely well known and used elsewhere, it would be nice to fix it, to begin with ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26424