raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9a0552f86bb722b81fa95d564b560ee1df532e98

commit 9a0552f86bb722b81fa95d564b560ee1df532e98
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Jan 24 12:11:15 2019 +0000

    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.
---
 src/lib/eet/Eet_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
    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;
      }
 }

-- 


Reply via email to