summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-11-20 17:49:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-11-20 17:49:01 +0000
commit1bfcf7518da45ac3a68d846c823c56b36c9cfe4d (patch)
tree5baa2667a5d652709e9dce57fa0d5ef30f99c1e9 /sbin
parent1b4625eed721e8d12995f70c88587cf78fad5a1e (diff)
Optimization: cache the hashed value to avoid negative comparisons.
With 2^32 possible hash values, this means that collisions no longer incur supplementary string compares, which was most of the reason for STREQ in the first place...
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions