[DOC] Fix indentation
RDoc markdown parser requires exact 4 spaces or tab as indentation.
This commit is contained in:
parent
f72b94bdb6
commit
e8aca1aafc
Notes:
git
2024-12-25 03:03:45 +00:00
30
NEWS.md
30
NEWS.md
@ -468,30 +468,30 @@ The following bundled gems are promoted from default gems.
|
|||||||
#### New features
|
#### New features
|
||||||
|
|
||||||
* Command-line options
|
* Command-line options
|
||||||
* `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage,
|
* `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage,
|
||||||
providing a more intuitive alternative to the old `--yjit-exec-mem-size` option.
|
providing a more intuitive alternative to the old `--yjit-exec-mem-size` option.
|
||||||
* `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
|
* `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
|
||||||
* `--yjit-log` enables a compilation log to track what gets compiled.
|
* `--yjit-log` enables a compilation log to track what gets compiled.
|
||||||
* Ruby API
|
* Ruby API
|
||||||
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.
|
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.
|
||||||
* `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
|
* `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
|
||||||
* YJIT stats
|
* YJIT stats
|
||||||
* `RubyVM::YJIT.runtime_stats` now always provides additional statistics on
|
* `RubyVM::YJIT.runtime_stats` now always provides additional statistics on
|
||||||
invalidation, inlining, and metadata encoding.
|
invalidation, inlining, and metadata encoding.
|
||||||
* `RubyVM::YJIT.runtime_stats[:iseq_calls]` is added to profile non-inlined Ruby method calls.
|
* `RubyVM::YJIT.runtime_stats[:iseq_calls]` is added to profile non-inlined Ruby method calls.
|
||||||
* `RubyVM::YJIT.runtime_stats[:cfunc_calls]` is truncated to the top 20 entries for better performance.
|
* `RubyVM::YJIT.runtime_stats[:cfunc_calls]` is truncated to the top 20 entries for better performance.
|
||||||
|
|
||||||
#### New optimizations
|
#### New optimizations
|
||||||
|
|
||||||
* Compressed context reduces memory needed to store YJIT metadata
|
* Compressed context reduces memory needed to store YJIT metadata
|
||||||
* Improved allocator with ability to allocate registers for local variables
|
* Improved allocator with ability to allocate registers for local variables
|
||||||
* When YJIT is enabled, use more Core primitives written in Ruby:
|
* When YJIT is enabled, use more Core primitives written in Ruby:
|
||||||
* `Array#each`, `Array#select`, `Array#map` rewritten in Ruby for better performance [[Feature #20182]].
|
* `Array#each`, `Array#select`, `Array#map` rewritten in Ruby for better performance [[Feature #20182]].
|
||||||
* Ability to inline small/trivial methods such as:
|
* Ability to inline small/trivial methods such as:
|
||||||
* Empty methods
|
* Empty methods
|
||||||
* Methods returning a constant
|
* Methods returning a constant
|
||||||
* Methods returning `self`
|
* Methods returning `self`
|
||||||
* Methods directly returning an argument
|
* Methods directly returning an argument
|
||||||
* Specialized codegen for many more runtime methods
|
* Specialized codegen for many more runtime methods
|
||||||
* Optimize `String#getbyte`, `String#setbyte` and other string methods
|
* Optimize `String#getbyte`, `String#setbyte` and other string methods
|
||||||
* Optimize bitwise operations to speed up low-level bit/byte manipulation
|
* Optimize bitwise operations to speed up low-level bit/byte manipulation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user