Hi everybody !
I'm trying to make my own texture format for lwjgl. Basically, it's very simple : the image is in raw format, and I gzip the image to reduce its size.
My goal was to reduce the loading time (because using awt image loader is not very fast...). But i've made some benchmarks and here are the results :
- When using the awt loader : 1530 ms
- When using raw format without gzip compression : 450 ms (3 times faster !!!)
- When using raw format with gzip compression : 3560 ms
So I deduce that using a GZIPInputStream is very very slow...
Does someone know where to find a faster "ungziper" or how could I do to make the decompression faster ?
Thanks for your help
EDIT: Oh, and forget about my english