0fdea86be1
* Implement Robin Hood hashing This replaces the previous separate chaining implementation. This approach is more memory-efficient, cache-friendly, and puts much less stress on the memory allocator. * Replace crc32 with fnva1 Also attempt to make the compiler pre-hash as much stuff as possible at build time.
15 lines
367 B
C
15 lines
367 B
C
/*
|
|
* This software is licensed under the terms of the MIT License.
|
|
* See COPYING for further information.
|
|
* ---
|
|
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
|
|
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
|
|
*/
|
|
|
|
#include "taisei.h"
|
|
|
|
#include "hashtable.h"
|
|
#include "util.h"
|
|
|
|
#define HT_IMPL
|
|
#include "hashtable_predefs.inc.h"
|