mat
bc3aa9467a
Replace impl Read with Cursor<&[u8]> ( #26 )
...
* Start getting rid of Cursor
* try to make the tests pass and fail
* make the tests pass
* remove unused uses
* fix clippy warnings
* fix potential OOM exploits
* fix OOM in az-nbt
* fix nbt benchmark
* fix a test
* start replacing it with Cursor<Vec<u8>>
* wip
* fix all the issues
* fix all tests
* fix nbt benchmark
* fix warnings
2022-10-07 20:12:36 -05:00
Ubuntu
f7e761dfd3
re-enable nbt benches
2022-09-14 18:33:51 +00:00
mat
e33d57e767
optimize nbt bytearray
2022-08-24 21:02:11 -05:00
mat
44db8948d6
Re-enable NBT decoding benchmark
2022-05-01 22:53:24 -05:00
mat
567c6f4f2c
Reduce usage of AsyncRead
...
We already receive everything from the server when it tells us the length, so we can actually just treat the stream as a Read instead of an AsyncRead.
2022-05-01 21:54:03 -05:00
mat
97d392f4e5
fix warnings in azalea-nbt
2022-04-24 14:56:46 -05:00
mat
3057ae8b4a
maybe optimization
2022-04-22 20:49:42 -05:00
mat
b03d3da659
inline reading in nbt decoding
2022-04-22 18:23:29 +00:00
mat
99652200aa
simplify nbt list optimization
2022-04-22 18:03:57 +00:00
mat
7df6522489
remove irrelevant comment
2022-04-22 14:51:03 +00:00
mat
67c6e33344
fix nbt decode benchmark
2022-04-22 00:52:22 -05:00
mat
248f752748
simplify error handling
2022-04-22 04:33:58 +00:00
mat
1cdd061a99
ok i give up remove the async benchmarks
2021-12-25 15:10:08 -06:00
mat
6ae94b96e6
start adding nbt to the protocol
2021-12-20 15:22:02 -06:00
mat
b91b579bef
add more tests and benchmarks for nbt
2021-12-20 01:53:23 -06:00
mat
5090ebe25f
slight nbt optimizations
2021-12-20 01:04:18 -06:00
mat
c66dd8d833
make read_string its own function
2021-12-19 23:06:05 -06:00
mat
f50cdfccfc
::with_capacity instead of ::new for vecs in nbt
2021-12-19 20:20:43 -06:00
mat
55c9f58219
nbt tests
2021-12-19 13:07:54 -06:00