summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-13 23:34:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-14 09:24:38 -0700
commitcde08292d65072c6a3fec5ee0f0a304d5bdf301c (patch)
tree23579b5d3540b982d42374a3a19d4ebb98773e68 /Makefile.in
parent9ab60dabcca3d7c9fe9a0bb6e7e01f9295d95532 (diff)
downloadnasm-cde08292d65072c6a3fec5ee0f0a304d5bdf301c.tar.gz
nasm-cde08292d65072c6a3fec5ee0f0a304d5bdf301c.tar.bz2
nasm-cde08292d65072c6a3fec5ee0f0a304d5bdf301c.zip
Define a proper hash table library
Define a proper hash table library, instead of the current ad hoc stuff used for both labels and macros. This only implements the actual library; it is not yet used. We use a CRC64 as a prehash. This is almost certainly overkill, although it is rather efficient (except, arguably, the table lookup) on 64-bit platforms, and not all that bad on 32-bit platforms. All we really need is a function which produces two independent 32-bit results which are used as the primary and secondary hash respectively. Either way, the prehash function is easily replacable if/when we have a quicker alternative.
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions