Issue #2471 has been updated by matz (Yukihiro Matsumoto). Description updated Status changed from Assigned to Rejected 切替えに伴うコスト増が正当化できないと思うので、このままでは採用しません。 だれかが性能に優れたパッチを書いてくれたら別ですが。 ---------------------------------------- Feature #2471: want to choose a GC algorithm https://bugs.ruby-lang.org/issues/2471#change-28023 Author: wanabe (_ wanabe) Status: Rejected Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: 2.0.0 =begin GC のアルゴリズムを複数用意して、選択可能にするのはどうでしょうか。 パッチを添付します。たたき台にしていただければ幸いです。 選択対象として、authorNari さんの LazySweep http://www.narihiro.info/resource/patch/rb_gc_lazy... を使わせていただきました。ありがとうございます。 起動時に環境変数 RUBYGC に lazy を代入しておくことで LazySweep が有効になります。 コンパイル時に NOSELECT_GC 定数を定義することで無効にすることも可能です。 関数ポインタを参照するわずかな遅延が許せない人向けに一応用意しましたが、 適切に GC を選択するならばあまり問題にならないのではないかと思います。 =end
on 2012-07-14 07:17
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.