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

Update README.md

This commit is contained in:
mat 2023-08-27 02:52:30 -05:00 committed by GitHub
parent 78ae03883a
commit 32079e59d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,3 +7,7 @@ at the moment, simdnbt does not actually make use of simd instructions (the name
simdnbt might be the fastest nbt decoder currently in existence. however to achieve this silly speed, it takes a couple of shortcuts:
1. it requires a reference to the original data (to avoid cloning)
2. it doesn't validate/decode the mutf-8 strings at decode-time
here's a benchmark with the two other fastest nbt crates (one of which was also made by me):
![simdnbt is ~3x faster than the second fastest nbt crate](https://github.com/mat-1/simdnbt/assets/27899617/4800c672-2800-4b7d-a56a-dcd57d70f094)
Take this with a grain of salt as they're not all doing the same work.