|
Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
March 2000: [Freeciv-Dev] Re: Better string hashing function |
|
[Freeciv-Dev] Re: Better string hashing function[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxxxxxxxxx> writes:
> unsigned int hash_fval_string(const void *vkey, unsigned int num_buckets)
> {
> register const char *key = (const char *)vkey;
Please leave off the "register" keyword, since it doesn't improev
performance on any decent compiler and might confuse people who don't
know it.
Falk
|