Tweak NEWS.md
* Move `define?(@var)` optimization into GC section * Remove a trailing space.
This commit is contained in:
parent
0601bce6fc
commit
e14dddcaca
7
NEWS.md
7
NEWS.md
@ -304,7 +304,7 @@ changelog for details of the default gems or bundled gems.
|
|||||||
and callback functions (`rb_internal_thread_event_callback`) receive it.
|
and callback functions (`rb_internal_thread_event_callback`) receive it.
|
||||||
https://github.com/ruby/ruby/pull/8885
|
https://github.com/ruby/ruby/pull/8885
|
||||||
* The following functions are introduced to manipulate Ruby thread local data
|
* 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
|
https://github.com/ruby/ruby/pull/8936
|
||||||
* `rb_internal_thread_specific_key_create()`
|
* `rb_internal_thread_specific_key_create()`
|
||||||
* `rb_internal_thread_specific_get()`
|
* `rb_internal_thread_specific_get()`
|
||||||
@ -330,9 +330,7 @@ changelog for details of the default gems or bundled gems.
|
|||||||
|
|
||||||
## Implementation improvements
|
## Implementation improvements
|
||||||
|
|
||||||
* `defined?(@ivar)` is optimized with Object Shapes.
|
### GC / Memory management
|
||||||
|
|
||||||
### GC
|
|
||||||
|
|
||||||
* Major performance improvements over 3.2
|
* Major performance improvements over 3.2
|
||||||
* Young objects referenced by old objects are no longer immediately
|
* 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`.
|
`Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`.
|
||||||
This makes these classes faster to allocate and free, use less memory and reduce
|
This makes these classes faster to allocate and free, use less memory and reduce
|
||||||
heap fragmentation.
|
heap fragmentation.
|
||||||
|
* `defined?(@ivar)` is optimized with Object Shapes.
|
||||||
|
|
||||||
### YJIT
|
### YJIT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user