Skip to content

Commit f31a6d8

Browse files
committed
rework shared refs to make them more compact and faster for the path api
1 parent 07b2e8b commit f31a6d8

4 files changed

Lines changed: 660 additions & 89 deletions

File tree

build_config.rb

Lines changed: 5 additions & 5 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'
9+
#conf.cxx.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
10+
#conf.cc.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
1111
conf.enable_debug
1212
conf.cc.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE' << 'MRB_USE_MALLOC_TRIM'
1313
conf.cxx.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE' << 'MRB_USE_MALLOC_TRIM'
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' << '-g -fno-omit-frame-pointer'
17+
conf.cxx.flags << '-O3' << '-march=native' << '-g -fno-omit-frame-pointer'
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)