valence/valence_nbt
Ryan Johnson 2cd8bd2195
Replace HashMap with BTreeMap in valence_nbt (#98)
* Replace HashMap with BTreeMap in valence_nbt

Turns out that `BTreeMap`s are a bit faster when the element count is low.

This change also makes debugging compounds a bit easier since the elements are displayed in sorted order.

* Simplify read_list function slightly
2022-10-01 15:36:04 -07:00
..
src Replace HashMap with BTreeMap in valence_nbt (#98) 2022-10-01 15:36:04 -07:00
Cargo.toml Replace HashMap with BTreeMap in valence_nbt (#98) 2022-10-01 15:36:04 -07:00
README.md Move valence_nbt to main Valence repo. (#97) 2022-10-01 14:18:42 -07:00

valence_nbt

A library for encoding and decoding Minecraft's Named Binary Tag (NBT) format.

See the documentation for more information.