df-mc / structure

Structure parsing and writing library for Dragonfly
4 stars 0 forks source link

Parse blocks in palettes once on load instead of for every block read #2

Closed Sandertv closed 2 years ago

Sandertv commented 3 years ago

Currently a block is looked up in the palette every time, but that block is the unparsed version. Having to parse it everytime is significantly slower than if we parsed the whole palette once on load and re-used it everytime.

Sandertv commented 2 years ago

Closed in 939694335122bde09813c8bc87a75e9625d66273.