Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Specify compression processor #27

Open
masmc05 opened this issue Jul 17, 2022 · 2 comments
Open

Specify compression processor #27

masmc05 opened this issue Jul 17, 2022 · 2 comments

Comments

@masmc05
Copy link

masmc05 commented Jul 17, 2022

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
image
image

@masmc05
Copy link
Author

masmc05 commented Jul 17, 2022

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

@masmc05
Copy link
Author

masmc05 commented Jul 31, 2022

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant