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
Until December last year, this library used the "longest run" LZSS compression method, which is naive and does not produce the smallest possible files. I eventually ported my implementation of a graph-based compressor, but immediately this caused a massive performance issue.
While graph-based compressors are indeed more performance- and memory-intensive than longest-run compressors, I don't believe it should be anywhere near this bad: the original implementation I based this library's compressors on performed infinitely better.
I was able to improve the performance a bit by inlining everything and not relying on generic types, but the performance is still terrible enough to make SonLVL hang for about 10 seconds when it saves.
I'm not sure what to do about this besides just ripping out the new compressors entirely (and accept that I have to recompress everything myself after SonLVL bloats my level data), so I'm leaving an issue here to see if anyone has any ideas.
The text was updated successfully, but these errors were encountered:
Until December last year, this library used the "longest run" LZSS compression method, which is naive and does not produce the smallest possible files. I eventually ported my implementation of a graph-based compressor, but immediately this caused a massive performance issue.
While graph-based compressors are indeed more performance- and memory-intensive than longest-run compressors, I don't believe it should be anywhere near this bad: the original implementation I based this library's compressors on performed infinitely better.
I was able to improve the performance a bit by inlining everything and not relying on generic types, but the performance is still terrible enough to make SonLVL hang for about 10 seconds when it saves.
I'm not sure what to do about this besides just ripping out the new compressors entirely (and accept that I have to recompress everything myself after SonLVL bloats my level data), so I'm leaving an issue here to see if anyone has any ideas.
The text was updated successfully, but these errors were encountered: