GitXplorerGitXplorer
t

zig-array-map

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
395ba0d8082afe496daf5df2238717e2d088bf2e

update for zig 0.9.0

ttoffaletti committed 3 years ago
Unverified
0e45e09cf0271b98f2d3fed8895a82c39f556651

add test coverage with kcov and a README

committed 3 years ago
Verified
0dd0285dfe749a0527948673083561254bd31301

Create LICENSE

ttoffaletti committed 3 years ago
Unverified
276668813e5cbe9a8db6d9d065f5244761ec082f

add github workflow ci

committed 3 years ago
Unverified
8d34b7a9a5375d40727153a38e0ab32aaef4863e

ignore zig-out

committed 4 years ago
Unverified
3f572d578bc113499d604444817cb132321e2a37

found work around for bug

committed 4 years ago

README

The README file for this repository.

Zig ArrayMap

ArrayMap is a data structure that maps keys to values using an array of entries, optionally kept sorted by key. The contiguous layout in memory is cache friendly and can make ArrayMap a good choice for small amounts of data or data that is already sorted, written infrequently, but read many times.

┌┬────────────┬┬────────────┬┬────────────┬~
││   Entry    ││   Entry    ││   Entry    │~
│├────┬┬──────┤├────┬┬──────┤├────┬┬──────┤~
││Key ││Value ││Key ││Value ││Key ││Value │~
└┴────┴┴──────┴┴────┴┴──────┴┴────┴┴──────┴~