summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-10-09 10:35:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-10-09 10:35:12 +0000
commit2d42132fa8a35408f147698ffec103097d2d9822 (patch)
tree6185c1af154c911105c00624867f79d819a9f673 /st.c
parent9b443e093336d0e60bc7753e453d81367b954ccb (diff)
downloadmandoc-2d42132fa8a35408f147698ffec103097d2d9822.tar.gz
Use a binary tree (for now, unbalanced) for deduping the records in the
results array. This is much faster than the previous method, a linear search, at a small cost. Note that array offsets are used instead of storing the res pointer because we may realloc the results vector.
Diffstat (limited to 'st.c')
0 files changed, 0 insertions, 0 deletions