1
0
Fork 0
mirror of https://github.com/azalea-rs/simdnbt.git synced 2025-08-02 07:26:04 +00:00
Commit graph

23 commits

Author SHA1 Message Date
mat
d7b54cd3f9 make functions that could cause UB private, and add new functions for reading at simdnbt::borrow and owned 2024-05-14 10:16:32 +00:00
mat
ac66cd4031 slightly optimize lists of non-recursing non-primitives 2024-05-14 02:43:24 +00:00
mat
f47749f7a8 keep track of depths for compounds and lists separately for 10% speedup 2024-05-14 01:54:39 +00:00
mat
608cf43886 inline some functions 2024-05-13 23:45:52 +00:00
mat
0e32cbd4b8 add #[inline(always)] to read_with_type 2024-05-13 02:32:53 +00:00
mat
2b96df7c7f slightly optimize writing tags to memory 2024-05-13 02:24:13 +00:00
mat
2fb9ba2629 remove repr u8 from NbtTag so it can be another byte smaller 2024-05-13 01:14:26 +00:00
mat
97b9d5c76a fix ub on error and add a test for that 2024-05-13 00:39:55 +00:00
mat
5ffce1a309 make NbtTag one byte smaller by removing all Vecs in NbtList 2024-05-12 23:02:23 +00:00
mat
33366ff085 fix memory leak on error 2024-05-12 21:01:29 +00:00
mat
4aa3effbf1 add comment for min alloc size 2024-05-12 20:07:37 +00:00
mat
927df9b33b make it work for arrays of tags too 2024-05-12 14:46:04 -05:00
mat
1ab27e531e optimize compound tag allocations 2024-05-12 00:51:00 -05:00
mat
901ec1833f add benchmarks table to readme 2024-03-11 15:37:24 -05:00
mat
041deb5db6 clippy 2024-03-09 18:14:34 -06:00
mat
73ab006f7c fix UB in swap_endianness
fixes #3
2024-03-09 18:04:21 -06:00
mat
c255ab673a add NbtList::as_nbt_tags 2023-12-28 18:30:19 -06:00
mat
922701104a add NbtTag::read_optional 2023-12-28 17:46:28 -06:00
mat
d427ea3f55 Release 0.3.0
simdnbt@0.3.0
simdnbt-derive@0.3.0

Generated by cargo-workspaces
2023-12-02 13:54:12 -06:00
mat
d10fa0fc38 make FromNbtTag take simdnbt::borrow::NbtTag 2023-11-28 20:16:18 -06:00
mat
878d115b70 Nbt::default 2023-11-19 16:24:20 -06:00
mat
820cb1f334 fix some bugs 2023-11-19 16:13:36 -06:00
mat
7d4b7b9a22 derive macro 2023-11-18 22:54:15 -06:00