GitXplorerGitXplorer
t

zig-array-map

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
4b523af1ceec7d6a1521e67d54479d888ae379b3

updated for 0.8.0

committed 4 years ago
Unverified
b5867be51b5e17cd2c51e19f9e008c8ab3212b06

yet another bug trying to sort

committed 4 years ago
Unverified
7e368075f07b55449065e8b73deed7e4149c964e

fix build.zig

committed 4 years ago
Unverified
3e69a3731c42dd47854a5e6c002f652c0f5a0bef

initial commit

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 │~
└┴────┴┴──────┴┴────┴┴──────┴┴────┴┴──────┴~