summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-05-21 03:53:29 +0200
committerDavid Lamparter <equinox@diac24.net>2019-05-21 05:42:13 +0200
commit5cb4277dfe5d9cee195ad62fa43996ff8245ee72 (patch)
treece0de9a2b4adb72795a86207d166955b5d91c2fb /lib/compiler.h
parent5ac8ecbabd9638f726fdff5d49b43e675a47e434 (diff)
lib: add DECLARE_HEAP datastructure
This is an 8-ary heap (cacheline optimized.) It works as a semi-sorted kind of middle ground between unsorted and sorted datastructures; pop() always returns the lowest item but ordering is only loosely enforced. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions