Specify compression processor
masmc05 opened this issue · 2 comments
hi
https://github.com/jglrxavpok/Hephaistos/blob/cec720e1a5562186a091a64ce2b9a256e0328674/common/src/main/kotlin/org/jglrxavpok/hephaistos/mca/RegionFile.kt#L206
can this be specified? even if only standart 3 (the NoCompression, Zlib, GZip) could be used, this already will change a lot, because at my stress tests this was the main problem
or is it possible to specify a completly custom compressor, if i don't care minecraft to be able to load and read it? so for example i could use lz4
a possibility like here? PaperMC/Paper#5029
a high number that won't be used by minecraft, and to be able to register it before reading
(I've made my own version of region file class and lz4 really had good improvements in speed, so would really like this to be supported natively)