hashtable

hash table macros for creating hash table functions, it supports any type key, value, hash
git clone https://noulin.net/git/hashtable.git
Log | Files | Refs | LICENSE

commit 91814503575aabf3c4acd0fbe3a7e300c679cb1d
parent 2557f913adbcbaa2759c0f578116795043904dfa
Author: Remy Noulin <loader2x@gmail.com>
Date:   Tue, 28 May 2019 07:32:03 +0200

add isHashtableCompiledWithCurrentLisheepyVersion=true for checkPackages

hashtable.h | 3 +++
package.yml | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

Diffstat:
Mhashtable.h | 3+++
Mpackage.yml | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/hashtable.h b/hashtable.h @@ -1308,3 +1308,6 @@ u32 ilog2Hashtable(u32 value); hashtableInternalDelNode(name, (nodeContext).node, (nodeContext).mhash, (nodeContext).prev, (nodeContext).moreOrLess);\ } while(0) + +// the function in hashtable doesnt depend on libsheepy, no need to recompile when libsheepy version is changed +#define isHashtableCompiledWithCurrentLisheepyVersion true diff --git a/package.yml b/package.yml @@ -1,6 +1,6 @@ --- name: hashtable - version: 0.0.12 + version: 0.0.13 description: "hash table macros for creating hash table functions, it supports any type key, value, hash" bin: ./hashtable.c # with gcc 6.3 (skylake cpu, debian stretch), the performance with O1 is better than with O3