[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Hash Table Collisions (n.runs-SA-2011.004)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 6 Jan 2012 17:11:52 -0200
> The threshold string length could be made configurable at compile
> time, in case somebody needed to use many midsize strings as keys,
> or just for any reason preferred the current behavior.
> (would there be drawbacks in giving this choice?)
Not that I can see. But note that a configurable lenght does not offer
the option to keep the current behavior, as strings would always be
hashed (when/if hashed) with all its bytes.
-- Roberto
- References:
- Re: Hash Table Collisions (n.runs-SA-2011.004), Miles Bader
- Re: Hash Table Collisions (n.runs-SA-2011.004), Ashwin Hirschi
- Re: Hash Table Collisions (n.runs-SA-2011.004), Miles Bader
- Re: Hash Table Collisions (n.runs-SA-2011.004), David Kolf
- Re: Hash Table Collisions (n.runs-SA-2011.004), Miles Bader
- Re: Hash Table Collisions (n.runs-SA-2011.004), Alexander Gladysh
- Re: Hash Table Collisions (n.runs-SA-2011.004), Roberto Ierusalimschy
- Re: Hash Table Collisions (n.runs-SA-2011.004), Roberto Ierusalimschy
- Re: Hash Table Collisions (n.runs-SA-2011.004), Patrick Rapin
- Re: Hash Table Collisions (n.runs-SA-2011.004), Enrico Colombini