You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serializing palettes is one of the slowest parts of FastChunkSerializer, due to getPalette() building an array, and then passing the result into pack(), which has slow format code parsing and also has to validate every element to check that it's actually an integer.
We can bypass this entirely by implementing a native binary encoder for PalettedBlockArray, which would make FastChunkSerializer quite a bit faster.
The text was updated successfully, but these errors were encountered:
Serializing palettes is one of the slowest parts of FastChunkSerializer, due to getPalette() building an array, and then passing the result into pack(), which has slow format code parsing and also has to validate every element to check that it's actually an integer.
We can bypass this entirely by implementing a native binary encoder for PalettedBlockArray, which would make FastChunkSerializer quite a bit faster.
The text was updated successfully, but these errors were encountered: