Commit graph

29 commits

Author SHA1 Message Date
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
59ef945094 fix writing wrong ids in nbt 2022-04-24 14:53:01 -05:00
mat
b43ad19636 remove an unused thing from dependencies 2022-04-24 14:44:02 -05:00
Ubuntu
7a272c216b Vec<Tag> to [Tag] 2022-04-23 04:28:19 +00:00
Ubuntu
46454793e0 clean up some code 2022-04-23 04:14:19 +00:00
mat
3a6810ca1d vroom vroom 2022-04-22 22:38:42 -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
1bbd8b99b3 nbt optimizations 2022-04-22 05:02:45 +00:00
mat
39d77475d3 remove some useless code 2022-04-22 04:37:45 +00:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
03d14e13f2 make benchmarks work again 2022-04-21 18:08:33 +00:00
mat
3beb58189b tokio features in az-nbt 2022-04-21 17:24:20 +00:00
mat
af28b0e57a reading nbt in the protocol works 2021-12-26 14:15:06 -06: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
cf88c7b795 add some things to readmes 2021-12-20 13:36:20 -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
91a26609f7 make write_string its own function 2021-12-19 23:20:58 -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
mat
b030b9de93 nbt 2021-12-18 20:33:16 -06:00
mat
76e1985fc4 reading nbt 2021-12-18 17:02:23 -06:00