summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-24 12:11:15 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-24 14:04:07 +0000
commit9a0552f86bb722b81fa95d564b560ee1df532e98 (patch)
tree2657c7724c2967011483c4c6b14dcbc7bfeb96cb /src/lib/eet
parent7e0a5a7cf2955df0f4fe0ed81dae0c6a8d5054c8 (diff)
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.
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/Eet_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/Eet_private.h b/src/lib/eet/Eet_private.h
index 43b4c141a4..becfabb638 100644
--- a/src/lib/eet/Eet_private.h
+++ b/src/lib/eet/Eet_private.h
@@ -306,7 +306,7 @@ eet_2_emile_compressor(int comp)
306 switch (comp) 306 switch (comp)
307 { 307 {
308 case EET_COMPRESSION_VERYFAST: return EMILE_LZ4HC; 308 case EET_COMPRESSION_VERYFAST: return EMILE_LZ4HC;
309 case EET_COMPRESSION_SUPERFAST: return EMILE_LZ4HC; 309 case EET_COMPRESSION_SUPERFAST: return EMILE_LZ4;
310 default: return EMILE_ZLIB; 310 default: return EMILE_ZLIB;
311 } 311 }
312} 312}