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

119 commits

Author SHA1 Message Date
mat
5e1040be7c replace residua-mutf8 with simd_cesu8 2024-07-19 10:29:58 +00:00
mat
4fa1f11f76 fix clippy warning in fuzz code 2024-07-15 03:26:18 +00:00
mat
cedfe92ff0 fix incorrect integer reading on big-endian systems 2024-07-15 03:24:26 +00:00
mat
d5cf8516d2 Release 0.6.0
simdnbt@0.6.0
simdnbt-derive@0.6.0

Generated by cargo-workspaces
2024-07-04 23:40:28 -05:00
mat
24e81de255 upgrade deps 2024-07-05 04:40:02 +00:00
mat
d019003a3a update borrow benchmarks in readme 2024-07-05 04:37:31 +00:00
mat
150a00cb29
Use a tape for reading in simdnbt::borrow and probably introduce even more UB (#8)
* write structs and unions for tape

* war crimes

* except they're not war crimes if you're winning

* clippy and uncomment disabled examples

* cleanup and fix ub

* get(0) -> first()

* add fuzzer and fix ub lmao

* fix an out of bounds write

* fix macros and make it more useable
2024-07-04 23:28:59 -05:00
mat
eb960e076e rename realworld to hypixel 2024-05-18 03:12:06 +00:00
mat
c05ac6ee43 slightly optimize some types of lists 2024-05-18 03:04:57 +00:00
mat
07bb1e7036 Release 0.5.2
simdnbt@0.5.2
simdnbt-derive@0.5.2

Generated by cargo-workspaces
2024-05-14 16:32:49 -05:00
mat
54710304ad fix failing compilation when deny_unknown_fields is set 2024-05-14 21:31:45 +00:00
mat
0a8149e459 Release 0.5.1
simdnbt@0.5.1

Generated by cargo-workspaces
2024-05-14 16:18:50 -05:00
mat
86194a4680 add borrow::NbtCompound::keys 2024-05-14 21:18:40 +00:00
mat
8e1e0af3ae Release 0.5.0
simdnbt@0.5.0

Generated by cargo-workspaces
2024-05-14 05:19:41 -05:00
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
c83d29855a Release 0.4.3
simdnbt@0.4.3
simdnbt-derive@0.4.3

Generated by cargo-workspaces
2024-05-13 23:47:01 -05:00
mat
953408f164 update simdnbt benchmark numbers in readme 2024-05-14 04:46:49 +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
740e7afbe9 optimize reading arrays of compounds in owned read 2024-05-14 00:07:53 +00:00
mat
608cf43886 inline some functions 2024-05-13 23:45:52 +00:00
mat
39b68ea725 add some inlines for writing 2024-05-13 11:47:05 +00:00
mat
bfb721890d fix order of libraries in readme 2024-05-13 11:23:14 +00:00
mat
7e29630c8b
Optimize owned (#5)
* inline read_with_type for 12% speedup

* optimize creating compounds

* fix incorrect comment in mutf8.rs

* update benchmarks in readme
2024-05-13 06:21:14 -05:00
mat
2a9a1ca8d7 add owned benchmarks 2024-05-13 03:18:22 +00:00
mat
4d660133d4
Merge pull request #4 from azalea-rs/reuse-allocs
Optimize simdnbt::borrow and probably introduce UB
2024-05-12 21:39:51 -05: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
a6f47171bf update table in readme 2024-05-12 23:57:02 +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
860d6e1b3a don't panic on invalid mutf8 2024-03-16 22:23:09 -05:00
mat
e16aeb03e2 Release 0.4.2
simdnbt@0.4.2

Generated by cargo-workspaces
2024-03-15 16:39:01 -05:00
mat
901ec1833f add benchmarks table to readme 2024-03-11 15:37:24 -05:00
mat
2f963e1b71 add shen-nbt5 to benchmarks 2024-03-10 23:06:24 -05:00
mat
96f73c9de3 fix unsoundness by sealing SwappableNumber 2024-03-10 23:06:02 -05:00
mat
33b8f0db99 fix NbtList::Double write code to be consistent with the others 2024-03-09 19:45:29 -06:00
mat
a5e43348c8 Release 0.4.1
simdnbt@0.4.1
simdnbt-derive@0.4.1

Generated by cargo-workspaces
2024-03-09 18:31:46 -06: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
4594562ef0 make doc use readme inside simdnbt dir 2024-01-25 00:21:34 -06:00
mat
1ccfafe55e upgrade deps 2024-01-25 00:20:43 -06:00
mat
8c9065e7ac make readme a symlink 2024-01-25 00:13:51 -06:00
mat
12d712c936 Release 0.4.0
simdnbt@0.4.0
simdnbt-derive@0.4.0

Generated by cargo-workspaces
2024-01-24 23:19:19 -06:00
mat
d71b45ef3e split_first_chunk instead of split_array_ref 2024-01-24 23:18:14 -06:00