Lindenii Project Forge
Login

hare-ds

Data structures for Hare
Commit info
ID
34d55b56bde1269f0a0714d04740a5a478e78170
Author
Runxi Yu <me@runxiyu.org>
Author date
Sun, 21 Sep 2025 22:11:43 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Sun, 21 Sep 2025 22:11:43 +0800
Actions
Update README to reflect ownership rules
map: general-purpose map data structures

You should create a map with the `new` function in each submodule.
Then, you may use functions defined in this module to manipulate the map.

Note that maps own keys but not values. Do not change the content of the
[]u8 keys when it's already handled by the map; they are expected to stay
consistent and their lifetime is automatically managed along with the map.
However, you must manage the lifetimes of all *opaque values yourself.