]> git.seodisparate.com - SimpleArchiver/commit
Impl. priority heap, minor tweaks/fixes
authorStephen Seo <seo.disparate@gmail.com>
Sun, 30 Jun 2024 06:32:17 +0000 (15:32 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sun, 30 Jun 2024 06:32:17 +0000 (15:32 +0900)
commitfbe62ba5b23b5e287001fdff12ba2e40369329ec
tree1c62161e439c5aeb15956cb54d5f347e19483155
parentea919f3eb39ed25c7ac9216c89bedf1a008a0954
Impl. priority heap, minor tweaks/fixes

Implemented a priority heap.

Added tests for the priority heap.

Add a "default" lcg generator function.

Tweak hash_map to use the default lcg generator function.

`clang-format`.
CMakeLists.txt
cosmopolitan/Makefile
src/algorithms/linear_congruential_gen.c
src/algorithms/linear_congruential_gen.h
src/data_structures/hash_map.c
src/data_structures/priority_heap.c [new file with mode: 0644]
src/data_structures/priority_heap.h [new file with mode: 0644]
src/data_structures/test.c
src/platforms.h