8000 [DOC] Use the same indentation depth as adjacent sections · github/ruby@828e913 · GitHub
[go: up one dir, main page]

Skip to content

Commit 828e913

Browse files
committed
[DOC] Use the same indentation depth as adjacent sections
1 parent 1b0e362 commit 828e913

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

NEWS.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -468,30 +468,30 @@ The following bundled gems are promoted from default gems.
468468
#### New features
469469

470470
* Command-line options
471-
* `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage,
472-
providing a more intuitive alternative to the old `--yjit-exec-mem-size` option.
473-
* `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
474-
* `--yjit-log` enables a compilation log to track what gets compiled.
471+
* `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage,
472+
providing a more intuitive alternative to the old `--yjit-exec-mem-size` option.
473+
* `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
474+
* `--yjit-log` enables a compilation log to track what gets compiled.
475475
* Ruby API
476-
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.
477-
* `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
476+
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.
477+
* `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
478478
* YJIT stats
479-
* `RubyVM::YJIT.runtime_stats` now always provides additional statistics on
480-
invalidation, inlining, and metadata encoding.
481-
* `RubyVM::YJIT.runtime_stats[:iseq_calls]` is added to profile non-inlined Ruby method calls.
482-
* `RubyVM::YJIT.runtime_stats[:cfunc_calls]` is truncated to the top 20 entries for better performance.
479+
* `RubyVM::YJIT.runtime_stats` now always provides additional statistics on
480+
invalidation, inlining, and metadata encoding.
481+
* `RubyVM::YJIT.runtime_stats[:iseq_calls]` is added to profile non-inlined Ruby method calls.
482+
* `RubyVM::YJIT.runtime_stats[:cfunc_calls]` is truncated to the top 20 entries for better performance.
483483

484484
#### New optimizations
485485

486486
* Compressed context reduces memory needed to store YJIT metadata
487487
* Improved allocator with ability to allocate registers for local variables
488488
* When YJIT is enabled, use more Core primitives written in Ruby:
489-
* `Array#each`, `Array#select`, `Array#map` rewritten in Ruby for better performance [[Feature #20182]].
489+
* `Array#each`, `Array#select`, `Array#map` rewritten in Ruby for better performance [[Feature #20182]].
490490
* Ability to inline small/trivial methods such as:
491-
* Empty methods
492-
* Methods returning a constant
493-
* Methods returning `self`
494-
* Methods directly returning an argument
491+
* Empty methods
492+
* Methods returning a constant
493+
* Methods returning `self`
494+
* Methods directly returning an argument
495495
* Specialized codegen for many more runtime methods
496496
* Optimize `String#getbyte`, `String#setbyte` and other string methods
497497
* Optimize bitwise operations to speed up low-level bit/byte manipulation

0 commit comments

Comments
 (0)
0