[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_string_hash suboptimal?
From: |
Rob Browning |
Subject: |
Re: scm_string_hash suboptimal? |
Date: |
20 May 2001 16:09:41 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Florian Weimer <address@hidden> writes:
> The table is 1K in size, so there's a danger that it pollutes the data
> cache. The Python hash function doesn't have this problem, and the
> integer multiplication shouldn't matter on modern architectures.
Makes sense.
> I think you have to do a bit of testing using real-world applications
> in order to decide which hash function to use.
Definitely. I just brought it up for comparison. I tried to find one
in stalin (briefly), but didn't see anything obvious (i.e. grepped for
"hash"). Might be that it doesn't need any.
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930