diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-05-04 15:52:59 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-05-04 15:52:59 -0700 |
commit | 546093e8d9c9d3b3a5af8b753bc332049d1d3c41 (patch) | |
tree | 58e2e6d47216a6cb350ba19442c28b3addeff9a6 /NEWS.md | |
parent | caa2180be0cf8499f83df6cce12511c1918abad2 (diff) | |
download | ruby-546093e8d9c9d3b3a5af8b753bc332049d1d3c41.tar.gz |
Add YJIT-related NEWS entries [ci skip]
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |