Skip to content

Commit 76d46e1

Browse files
committed
small logic changes to be a few % faster.
1 parent 65952a6 commit 76d46e1

2 files changed

Lines changed: 180 additions & 87 deletions

File tree

build_config.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ def for_windows?
44
('A'..'Z').to_a.any? { |vol| Dir.exist?("#{vol}:") }
55
end
66
unless for_windows?
7-
conf.enable_sanitizer "address,undefined"
7+
#conf.enable_sanitizer "address,undefined"
88
end
9-
conf.cxx.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
10-
conf.cc.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
11-
conf.enable_debug
9+
#conf.cxx.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
10+
#conf.cc.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
11+
#conf.enable_debug
1212
conf.cc.defines << 'MRB_UTF8_STRING'
1313
conf.cxx.defines << 'MRB_UTF8_STRING'
1414
conf.enable_test
1515
conf.gembox 'default'
16-
#conf.cc.flags << '-O3' << '-march=native'
17-
#conf.cxx.flags << '-O3' << '-march=native'
16+
conf.cc.flags << '-O3' << '-march=native'
17+
conf.cxx.flags << '-O3' << '-march=native'
1818
conf.gem github: 'Asmod4n/mruby-benchmark-plus', branch: "main"
1919
conf.gem mgem: 'mruby-simplemsgpack'
2020
conf.gem mgem: 'mruby-fast-json'

0 commit comments

Comments
 (0)