summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-12-24 20:50:41 -0800
committerTakashi Kokubun <[email protected]>2024-12-24 20:50:41 -0800
commitf45010833071b953744658842369e3496dfacb48 (patch)
tree75b1c860db2afb5bc053c74880858b6ed3d27597
parent663f833bac04aa7ca16855d18a6bf6febd0597c5 (diff)
[DOC] Fix indentation for rdocv3_4_0
-rw-r--r--NEWS.md32
1 files changed, 16 insertions, 16 deletions
diff --git a/NEWS.md b/NEWS.md
index 22ab0c45d0..699855566b 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -468,31 +468,31 @@ The following bundled gems are promoted from default gems.
#### New features
* Command-line options
- * `--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.
- * `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
- * `--yjit-perf=codegen` allows profiling of JIT code based on YJIT's codegen functions.
- * `--yjit-log` enables a compilation log to track what gets compiled.
+ * `--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.
+ * `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
+ * `--yjit-perf=codegen` allows profiling of JIT code based on YJIT's codegen functions.
+ * `--yjit-log` enables a compilation log to track what gets compiled.
* Ruby API
- * `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.enable(log: true)` also enables a compilation log.
+ * `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
* YJIT stats
- * `RubyVM::YJIT.runtime_stats` now always provides additional statistics on
- invalidation, inlining, and metadata encoding.
- * `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` now always provides additional statistics on
+ invalidation, inlining, and metadata encoding.
+ * `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.
#### New optimizations
* Compressed context reduces memory needed to store YJIT metadata
* Allocate registers for local variables and Ruby method arguments
* 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:
- * Empty methods
- * Methods returning a constant
- * Methods returning `self`
- * Methods directly returning an argument
+ * Empty methods
+ * Methods returning a constant
+ * Methods returning `self`
+ * Methods directly returning an argument
* Specialized codegen for many more runtime methods
* Optimize `String#getbyte`, `String#setbyte` and other string methods
* Optimize bitwise operations to speed up low-level bit/byte manipulation