33件ヒット
[1-33件を表示]
(0.012秒)
トップページ > :LIMITS
ライブラリ
- ビルトイン (11)
-
rbconfig
/ sizeof (11)
モジュール
- RbConfig (11)
キーワード
- GC (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4)
検索結果
-
RbConfig
:: LIMITS -> Hash (18107.0) -
Ruby インタプリタが作成された環境における、さまざまな型の値の範囲に関する情報を保持します。
...の値の範囲に関する情報を保持します。
下の例では、実行している Ruby インタプリタは INT_MAX が 2147483647 である環境で作成されたことを表しています。
//emlist[][ruby]{
require 'rbconfig/sizeof'
RbConfig::LIMITS['INT_MAX'] # => 2147483647
//}... -
GC (60.0)
-
GC は Ruby インタプリタの「ゴミ集め(Garbage Collection)」を制御 するモジュールです。
...ytes_limits を越えるとマイナーGCが起動される
* malloc_increase_bytes_limits は処理系の起動時に RUBY_GC_MALLOC_LIMIT で初期化される
* malloc_increase_bytes_limits を越えたことが原因でGCが起動された場合は
malloc_increase_bytes_limits が......crease_bytes が
oldmalloc_increase_bytes_limits を越えるとフルGCが起動される
* oldmalloc_increase_bytes_limits は処理系の起動時に
RUBY_GC_OLDMALLOC_LIMIT で初期化される
* oldmalloc_increase_bytes_limits を越えたことが原因でGCが起動され......た以下の情報はこれで調べることができる。
* malloc_increase_bytes
* malloc_increase_bytes_limits
* oldmalloc_increase_bytes
* oldmalloc_increase_bytes_limits
* old_objects_limit
==== チューニングについて
* 原理的にはメモリ使用量と実行速度... -
NEWS for Ruby 2
. 5 . 0 (12.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* Remove deprecated method aliases for syck gem
https://github.com/ruby/psych/pull/312
* rbconfig
* RbConfig::LIMITS is added to provide the limits of C types.
This is available when rbconfig/sizeof is loaded.
* ripper
* Ripper::EXPR_BEG and so on for Ripper#state.... -
NEWS for Ruby 3
. 0 . 0 (6.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...`--help`
option shows the help message via the pager designated by the value.
16754
=== `--backtrace-limit` option
The `--backtrace-limit` option limits the maximum length of a backtrace.
8661
== Core classes updates
Outstanding ones only.
* Array
* The following methods now return Array...