diff options
author | 2013-06-06 19:00:28 +0000 | |
---|---|---|
committer | 2013-06-06 19:00:28 +0000 | |
commit | 16c0e4b5b5dbe4e742237f62abe437332875589b (patch) | |
tree | 7ee2b7918541e6bb5cc018233d641841372f15b3 /arch.c | |
parent | 7f4a49958ba60f5c3043ee9fc9c6f2bd80186c8f (diff) | |
download | mandoc-16c0e4b5b5dbe4e742237f62abe437332875589b.tar.gz mandoc-16c0e4b5b5dbe4e742237f62abe437332875589b.tar.zst mandoc-16c0e4b5b5dbe4e742237f62abe437332875589b.zip |
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 'arch.c')
0 files changed, 0 insertions, 0 deletions