summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-05-04 15:52:59 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-05-04 15:52:59 -0700
commit546093e8d9c9d3b3a5af8b753bc332049d1d3c41 (patch)
tree58e2e6d47216a6cb350ba19442c28b3addeff9a6 /NEWS.md
parentcaa2180be0cf8499f83df6cce12511c1918abad2 (diff)
downloadruby-546093e8d9c9d3b3a5af8b753bc332049d1d3c41.tar.gz
Add YJIT-related NEWS entries [ci skip]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/NEWS.md b/NEWS.md
index 714dbe9dc1..7545984ce8 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -86,7 +86,18 @@ changelog for details of the default gems or bundled gems.
## Implementation improvements
-## JIT
+* `defined?(@ivar)` is optimized with Object Shapes.
+
+### YJIT
+
+* Metadata for compiled code uses a lot less memory.
+* Splat and rest arguments support has been improved.
+* Registers are allocated for stack operations of the virtual machine.
+* More calls with optional arguments are compiled.
+* `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`,
+ `Kernel#instance_of?`, `Module#===` are specially optimized.
+* Instance variables no longer exit to the interpreter
+ with megamorphic Object Shapes.
[Feature #18498]: https://bugs.ruby-lang.org/issues/18498
[Bug #19150]: https://bugs.ruby-lang.org/issues/19150