]> git.sur5r.net Git - cc65/commit
Require that the hash node must be the first element of the structure to be
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 12 Aug 2011 16:13:10 +0000 (16:13 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 12 Aug 2011 16:13:10 +0000 (16:13 +0000)
commitf571ec44aefc80288973f6c9abb5ef02f3274c36
treeca33d601ad4fc5b0e680ae42e640a1500ba993ce
parent762d4d9ea25427fbc0736ffcf95cb96ba6907402
Require that the hash node must be the first element of the structure to be
managed in a hash table. This gives smaller code and a ~25% size reduction of
the HashNode structure which might become an advantage if many elements are
hashed.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5158 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/common/hashtab.c
src/common/hashtab.h