summaryrefslogtreecommitdiff
path: root/test/compile-c++20.sh
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-02-01 21:22:38 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-02-01 21:22:38 +0100
commit8198be8fb6f81e987c3d0a2f334f61914f77c84b (patch)
treeff47ac7e48ba952c8f9ae7e8194ae3c396f619b2 /test/compile-c++20.sh
parente522e5cdb583d20b712c7d9c842fc6ce9d3fe17d (diff)
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
Diffstat (limited to 'test/compile-c++20.sh')
-rwxr-xr-xtest/compile-c++20.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compile-c++20.sh b/test/compile-c++20.sh
index 502063b..aa9f02a 100755
--- a/test/compile-c++20.sh
+++ b/test/compile-c++20.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# g++ as provided by Debian Buster (used for CI tests) does not support c++20
-exec g++ -std=c++2a -Wall -Wextra -pedantic -I../src -o inflate inflate-app.c ../src/inflate.c
+exec g++ -std=c++2a -O2 -Wall -Wextra -pedantic -I../src "$@" -o inflate inflate-app.c ../src/inflate.c