Skip to content

Commit 16e3bb0

Browse files
committed
enabled compiler optimizations
1 parent f8da6fc commit 16e3bb0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
]
2424

2525
if sys.platform == "win32":
26-
cflags = []
26+
cflags = ["/O2"]
2727
else:
28-
cflags = ["-msse4.2"]
28+
cflags = ["-O3", "-msse4.2"]
2929

3030
extensions = [Extension(
3131
"metrohash",
@@ -44,7 +44,7 @@
4444
setup(
4545
author="Dobatymo",
4646
name="metrohash-python",
47-
version="1.1.3.post1",
47+
version="1.1.3.post2",
4848
url="https://github.com/Dobatymo/metrohash-python",
4949
ext_modules=extensions,
5050
description="Python bindings for MetroHash",

0 commit comments

Comments
 (0)