mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
e80bbc22b3
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: ![flamegraph](https://user-images.githubusercontent.com/13693773/198851700-f455d055-a18d-495c-9989-110e3f569ad9.svg) After this change: ![flamegraph](https://user-images.githubusercontent.com/13693773/198851673-01f2a6d8-1cb0-4ae7-b57b-6e47a38d9cee.svg) |
||
---|---|---|
.. | ||
block.rs | ||
enchant.rs | ||
entity.rs | ||
entity_event.rs | ||
item.rs | ||
main.rs |