* Move `define?(@var)` optimization into GC section
* Remove a trailing space.
This commit is contained in:
Yusuke Endoh 2023-12-16 00:25:00 +09:00
Родитель 0601bce6fc
Коммит e14dddcaca
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -304,7 +304,7 @@ changelog for details of the default gems or bundled gems.
and callback functions (`rb_internal_thread_event_callback`) receive it.
https://github.com/ruby/ruby/pull/8885
* The following functions are introduced to manipulate Ruby thread local data
from internal thread event hook APIs (they are introduced since Ruby 3.2).
from internal thread event hook APIs (they are introduced since Ruby 3.2).
https://github.com/ruby/ruby/pull/8936
* `rb_internal_thread_specific_key_create()`
* `rb_internal_thread_specific_get()`
@ -330,9 +330,7 @@ changelog for details of the default gems or bundled gems.
## Implementation improvements
* `defined?(@ivar)` is optimized with Object Shapes.
### GC
### GC / Memory management
* Major performance improvements over 3.2
* Young objects referenced by old objects are no longer immediately
@ -350,6 +348,7 @@ changelog for details of the default gems or bundled gems.
`Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`.
This makes these classes faster to allocate and free, use less memory and reduce
heap fragmentation.
* `defined?(@ivar)` is optimized with Object Shapes.
### YJIT