From 546093e8d9c9d3b3a5af8b753bc332049d1d3c41 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 4 May 2023 15:52:59 -0700 Subject: [PATCH] Add YJIT-related NEWS entries [ci skip] --- NEWS.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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