mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-10 21:12:01 +03:00
Make hashtable's fnv hash inline - saves 8 instructions and two pipeline flushes per call
svn path=/trunk/netsurf/; revision=3014
This commit is contained in:
parent
8be8304bc6
commit
8c05d8274d
@ -19,7 +19,7 @@ struct hash_table *hash_create(unsigned int chains);
|
||||
void hash_destroy(struct hash_table *ht);
|
||||
bool hash_add(struct hash_table *ht, const char *key, const char *value);
|
||||
const char *hash_get(struct hash_table *ht, const char *key);
|
||||
unsigned int hash_string_fnv(const char *datum, unsigned int *len);
|
||||
inline unsigned int hash_string_fnv(const char *datum, unsigned int *len);
|
||||
const char *hash_iterate(struct hash_table *ht, unsigned int *c1,
|
||||
unsigned int **c2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user