diff options
| author | David Lamparter <equinox@diac24.net> | 2019-05-21 03:53:29 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-05-21 05:42:13 +0200 |
| commit | 5cb4277dfe5d9cee195ad62fa43996ff8245ee72 (patch) | |
| tree | ce0de9a2b4adb72795a86207d166955b5d91c2fb /lib/compiler.h | |
| parent | 5ac8ecbabd9638f726fdff5d49b43e675a47e434 (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
