るりまサーチ

最速Rubyリファレンスマニュアル検索!
9件ヒット [1-9件を表示] (0.018秒)
トップページ > クエリ:true[x] > クエリ:auto_compact=[x]

別のキーワード

  1. nkf auto
  2. kconv auto
  3. smtp starttls_auto?
  4. context auto_indent_mode
  5. context auto_indent_mode=

種類

ライブラリ

モジュール

検索結果

GC.auto_compact=(bool) (18112.0)

GC.compact をフルGCで行うかどうかを制御します。

...GC.compact をフルGCで行うかどうかを制御します。

true
を設定するとフルGCのタイミングででヒープをコンパクションします。

この機能を有効にするとフルGCのパフォーマンスが低下します。

デフォルトは false です。

詳細...
...は17176を参照してください。

@param bool フルGCでコンパクションするかどうかを true か false で設定します。

@see GC.compact GC.auto_compact...

NEWS for Ruby 3.0.0 (72.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...redesigned. [EXPERIMENTAL]
* `=>` is added. It can be used like a rightward assignment.
17260
* `in` is changed to return `true` or `false`. 17371

//emlist{
0 => a
p a #=> 0

{b: 0, c: 1} => {b:}
p b #=> 0
//}

//emlist{
# version 3.0
0 in 1 #=> false

# version 2.7
0 in 1...
...PERIMENTAL]
16746

//emlist{
def square(x) = x * x
//}

* Interpolated String literals are no longer frozen when
`# frozen-string-literal: true` is used. 17104
* Magic comment `shareable_constant_value` added to freeze constants.
See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc...
...r backtrace. 16815
* The limitation of Fiber#transfer is relaxed. 17221
* GC
* GC.auto_compact= and GC.auto_compact have been added to control when compaction runs. Setting `auto_compact=` to `true` will cause compaction to occur during major collections. At the moment, compaction adds s...