From e14dddcaca6eb0a6e55c128ffdceb18681009c49 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 16 Dec 2023 00:25:00 +0900 Subject: [PATCH] Tweak NEWS.md * Move `define?(@var)` optimization into GC section * Remove a trailing space. --- NEWS.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/NEWS.md b/NEWS.md index be91a3561f..5bfe69960c 100644 --- a/NEWS.md +++ b/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. 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