From: "ko1 (Koichi Sasada) via ruby-core" Date: 2023-08-23T01:11:50+00:00 Subject: [ruby-core:114456] [Ruby master Feature#19785] Deprecate `RUBY_GC_HEAP_INIT_SLOTS` Issue #19785 has been updated by ko1 (Koichi Sasada). Sorry I didn't know about `RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS` * How to know `%d` part? * How to tune the value? * it seems difficult to set it compare with setting 1 init value. Another idea is to introduce `RUBY_GC_HEAP_INIT_PAGES` for the global page pool. But I'm not sure there is global page pool yet. and not sure it will help for tuning. ---------------------------------------- Feature #19785: Deprecate `RUBY_GC_HEAP_INIT_SLOTS` https://bugs.ruby-lang.org/issues/19785#change-104218 * Author: peterzhu2118 (Peter Zhu) * Status: Open * Priority: Normal ---------------------------------------- GitHub PR: https://github.com/ruby/ruby/pull/8147 The `RUBY_GC_HEAP_INIT_SLOTS` environment variable is replaced by `RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS` (introduced in commit [3ab3455](https://github.com/ruby/ruby/commit/3ab34551450c7a3a3e1ae0b24bf6b78d26129dfa)), which allows for more fine-grained tuning of size pools. So it doesn't make sense to keep the environment variable `RUBY_GC_HEAP_INIT_SLOTS`. I'm proposing to deprecate `RUBY_GC_HEAP_INIT_SLOTS` and eventually remove it. -- 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/postorius/lists/ruby-core.ml.ruby-lang.org/