diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-06 19:00:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-06 19:00:28 +0000 |
commit | e954e8f25cbcd0ac5a7b94cfbbbaa85047cd5c7c (patch) | |
tree | 7b427c1227ba859f9796e70bbb5249736f9c5076 /msec.c | |
parent | 792c4b8862bee82d320ffc2956a5e09f69ba2214 (diff) | |
download | mandoc-e954e8f25cbcd0ac5a7b94cfbbbaa85047cd5c7c.tar.gz |
Optimize stradds() and putkeys() to not call ohash_qlookupi()
and ohash_find() twice. As a bonus, this allows to drop hashget().
While here, rename index to slot to match the terminology in the ohash
manual; it also prevents potential clashes with index(3).
Drop the slot variable altogether where it is used only once.
Diffstat (limited to 'msec.c')
0 files changed, 0 insertions, 0 deletions