From: "hsbt (Hiroshi SHIBATA) via ruby-core" Date: 2026-11-04T00:36:44+00:00 Subject: [ruby-core:127321] [Ruby Feature#22503] Add --with-mimalloc to win32/configure.bat Issue #22503 has been reported by hsbt (Hiroshi SHIBATA). ---------------------------------------- Feature #22503: Add --with-mimalloc to win32/configure.bat https://bugs.ruby-lang.org/issues/22503 * Author: hsbt (Hiroshi SHIBATA) * Status: Open * Assignee: hsbt (Hiroshi SHIBATA) ---------------------------------------- I'd like to add an opt-in `--with-mimalloc` option to `win32/configure.bat`. With it, only the default GC allocates with mimalloc, and the rest of the process keeps the CRT heap. The default build is unchanged. On ruby-bench, the headline benchmarks take 0.948x the time with YJIT and 0.965x on the interpreter, compared with the same build without the option. That is about 5% and 3.5% faster overall, and about 4% in both modes across all 77 benchmarks. protoboeuf-encode and splay get slower. mimalloc is installed by vcpkg as an optional feature of `vcpkg.json`. A new Windows CI job builds Ruby with clang-cl, YJIT and mimalloc. https://github.com/ruby/ruby/pull/19686 -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/