9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-30 20:39:21 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
hayanesuru
f2682d84a6 optimize attribute and cleanup entity tracker (#548)
* optimize attribute

* compile fix

* redo async tracker

* rename id

* refactor

* fix comment

* reduce call

* fix entity removal

* rename

* fix

* fix ctx

* unnecessary

* rebuild patches

* fix immediately remove

closes: #555

* wrap
2025-12-10 17:00:14 -05:00
Dreeam
17952bb013 [ci skip] Reorder patches 2025-10-29 02:23:32 -04:00
Dreeam
9a4efaa230 Drop patch that causes performance regression
Originally vanilla logic is to use stream, and Mojang switched it to Guava's Collections2
since 1.21.4. It is much faster than using stream or manually adding to a new ArrayList.
Manually adding to a new ArrayList requires allocating a new object array. However, the Collections2
lazy handles filter condition on iteration, so much better.
2025-08-04 19:25:56 +08:00
Dreeam
4d814b60d2 Cleanup 2025-07-28 20:58:25 +08:00
Taiyou
006fe7ce3a rewritten profile cache (#415)
* rewritten profile cache

* cleanup

* Fix build

* Update comments
2025-07-25 04:48:54 +08:00