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

140 commits

Author SHA1 Message Date
mat
d4f50f2420 more optimal string skipping in read_tag_in_compound 2025-01-18 08:08:19 +00:00
mat
bdf55aab6e replace vec with custom impl for MainTape 2025-01-18 07:06:42 +00:00
mat
886ef3d164 cleanup and minor optimization by updating TapeTagKind 2025-01-18 05:07:25 +00:00
mat
16e90028be smaller NbtList::read 2025-01-18 03:28:04 +00:00
mat
bbfce91c97 clippy 2025-01-17 09:01:06 +00:00
mat
75fa78057c represent longs and doubles as a pointer in the tape instead of two elements 2025-01-17 08:55:09 +00:00
mat
4f1b4460f2 i accidentally had valence_nbt in my main dependencies i'm sobbing 2025-01-17 07:27:06 +00:00
mat
f46fd23b56 make read_tag function smaller by moving the tapes.main.push outside of the match statement 2025-01-17 07:23:35 +00:00
mat
01004062e1 update dependencies and comment out a broken benchmark 2025-01-17 06:45:26 +00:00
mat
b2ffaac105 impl Debug for NonRootError 2024-12-23 01:46:19 +00:00
mat
27766aa5fd add more borrow=owned tests 2024-10-18 19:45:50 +00:00
mat
6c54c4c240 fix errors on big-endian systems 2024-10-18 06:58:40 +00:00
mat
969fd38fa6 make more types from ::borrow::{compound,list} public
closes #14
2024-10-18 06:22:05 +00:00
mat
77a541efd4 remove compound approx_len 2024-10-18 06:12:20 +00:00
mat
d7eb3e4ed1 fix floats being incorrectly rounded 2024-10-07 16:02:35 +00:00
mat
345b368ccb Release 0.6.1
simdnbt@0.6.1

Generated by cargo-workspaces
2024-09-15 01:34:24 -05:00
amy
8aaa78a033
fix: convert array len to u32 before writing (#13) 2024-08-03 23:08:47 -05:00
mat
6d23e4e481 use a u64 instead of a union for TapeElement 2024-07-27 03:34:59 +00:00
mat
16c67d2743 update some parts of the readme 2024-07-22 00:26:05 +00:00
mat
61a91e2392 rename len to approx_len and exact_len to len 2024-07-22 00:19:56 +00:00
mat
6e182ee1dc
Optimize by using slimmer error types (#9)
* Optimize errors by using slimmer error types

* better ParsingStackElement enum ordering
2024-07-21 19:02:51 -05:00
mat
7a7e0e2a10
replace residua-mutf8 with simd_cesu8 (#11) 2024-07-19 05:40:12 -05: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