From 8198be8fb6f81e987c3d0a2f334f61914f77c84b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 1 Feb 2021 21:22:38 +0100 Subject: Add faster mode with huffman -> code look-up table 2x to 5x speed-up at the cost of ~600B of RAM. Compile with -DDEFLATE_WITH_LUT --- test/compile-c++11.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compile-c++11.sh') diff --git a/test/compile-c++11.sh b/test/compile-c++11.sh index cb13625..b3305a5 100755 --- a/test/compile-c++11.sh +++ b/test/compile-c++11.sh @@ -1,3 +1,3 @@ #!/bin/sh -exec g++ -std=c++11 -Wall -Wextra -pedantic -I../src -o inflate inflate-app.c ../src/inflate.c +exec g++ -std=c++11 -O2 -Wall -Wextra -pedantic -I../src "$@" -o inflate inflate-app.c ../src/inflate.c -- cgit v1.2.3