Skip to content

Commit e64571b

Browse files
committed
fix: add more optimization to MSVC
1 parent a850ffd commit e64571b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

binding.gyp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
"AdditionalOptions": [
2929
# C++ standard
3030
"/std:c++latest",
31-
"/DNDEBUG" # turn off asserts
31+
"/O2", # optimizations
32+
"/Ob3", # agressive inline
33+
"/Oi", # intrinsic functions
34+
"/Ot", # favor speed
35+
"/DNDEBUG" # turn off asserts
3236
],
3337
'EnableFunctionLevelLinking': 'true',
3438
'EnableIntrinsicFunctions': 'true',

0 commit comments

Comments
 (0)