1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-25 01:25:03 +01:00
PaperMC/patches
Andrew Steinborn 3a2986e746 Optimize entity tracker passenger checks ()
When a ServerEntity instance is first constructed, it uses a pre-Java 9 empty collection,
but passengers use Guava ImmutableList. When comparing the two collections via Object#equals
we miss out on an opportunity to reduce the check to little more than a reference equality
check (which is very fast).
2021-08-09 18:36:45 +00:00
..
api [ci skip] add vs code files to .gitignore () 2021-08-07 02:27:45 +02:00
server Optimize entity tracker passenger checks () 2021-08-09 18:36:45 +00:00