mirror of
https://github.com/italicsjenga/valence.git
synced 2025-02-23 18:17:44 +11:00
This PR changes is_air() to not call to_kind() to increase performance. Example flamegraphs of real usecase of parsing java chunks to UnloadedChunk: Before this change:  After this change:  |
||
---|---|---|
.. | ||
block.rs | ||
enchant.rs | ||
entity.rs | ||
entity_event.rs | ||
item.rs | ||
main.rs |