eet - fix eet compression to differentiate lx4 and lz4hc

so edje uses -fastcomp and -fastdecomp for lz4 and lz4hc .. before.
but the emile conversion nuked this difference and uses lz4hc no
matter what (EET_COMPRESSION_SUPERFAST vs EET_COMPRESSION_VERYFAST).
lz4hc is actuallly massively slower than lz4. this fixes -fastcomp to
be fast again... i tested a theme compile and it went from down from
81sec to 10sec.
This commit is contained in:
Carsten Haitzler 2019-01-24 12:11:15 +00:00
parent 7e0a5a7cf2
commit 9a0552f86b
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ eet_2_emile_compressor(int comp)
switch (comp)
{
case EET_COMPRESSION_VERYFAST: return EMILE_LZ4HC;
case EET_COMPRESSION_SUPERFAST: return EMILE_LZ4HC;
case EET_COMPRESSION_SUPERFAST: return EMILE_LZ4;
default: return EMILE_ZLIB;
}
}