Optimize performance of pywasm3

extensions
Volodymyr Shymanskyy 3 years ago
parent db707a0d8d
commit 52f80e9e63

@ -21,7 +21,9 @@ setup(
ext_modules=[
Extension('wasm3', sources=SOURCES, include_dirs=['m3'],
extra_compile_args=['-g0', '-O3', '-DDEBUG', '-DNASSERTS'])
extra_compile_args=['-g0', '-O3', '-march=native',
'-fomit-frame-pointer', '-fno-stack-check', '-fno-stack-protector',
'-DDEBUG', '-DNASSERTS'])
],
classifiers = [

@ -121,7 +121,7 @@ const void * const cvptr_t;
# endif
# if (defined(DEBUG))
# if (defined(DEBUG) && !defined(NASSERTS))
# define d_m3Assert(ASS) if (!(ASS)) { printf("Assertion failed at %s:%d : %s\n", __FILE__, __LINE__, #ASS); abort(); }
# else
# define d_m3Assert(ASS)

Loading…
Cancel
Save