From 5427a4defa7679e19b9fb6d26924ec2fe29f9559 Mon Sep 17 00:00:00 2001 From: Nathan TeBlunthuis Date: Sat, 5 Jul 2025 13:34:05 -0700 Subject: [PATCH] try -O3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c232f1f..3a793ec 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ my_extension = setuptools.Extension( "pywikidiff2", sources=cpp_sources, include_dirs=[], - extra_compile_args=["-Wall", "-std=c++17", "-fPIC","-lthai","-lstdc++"], + extra_compile_args=["-Wall", "-std=c++17", "-fPIC","-lthai","-lstdc++", "-O3"], extra_link_args=["-lthai", "-lstdc++","-fPIC"], language="c++", )