commit 71658aa595082061e738ee2ac81bbcab35f8202a
parent 6669d68db125c3e24e8d67b26e3e6521ad2dd109
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 13 Nov 2023 15:24:42 +0100
Merge branch 'release_0.3.1'
Diffstat:
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -29,6 +29,13 @@ Edit config.mk as needed, then run:
## Release notes
+### Version 0.3.1
+
+- In release, replace the -O2 compilation flag by -O3 since significant
+ performance gains can be seen (up to 30%) when using level 3 of the C
+ optimizer on code that depends heavily on finding the tetrahedron in
+ which a given position lies.
+
### Version 0.3
- Replace CMake by Makefile as build system.
diff --git a/config.mk b/config.mk
@@ -1,4 +1,4 @@
-VERSION = 0.3.0
+VERSION = 0.3.1
PREFIX = /usr/local
LIB_TYPE = SHARED
@@ -66,7 +66,7 @@ CFLAGS_COMMON =\
$(WFLAGS)
CFLAGS_DEBUG = -g $(CFLAGS_COMMON)
-CFLAGS_RELEASE = -O2 -DNDEBUG $(CFLAGS_COMMON)
+CFLAGS_RELEASE = -O3 -DNDEBUG $(CFLAGS_COMMON)
CFLAGS = $(CFLAGS_$(BUILD_TYPE))
CFLAGS_SO = $(CFLAGS) -fPIC