summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2023-12-16 00:25:00 +0900
committerYusuke Endoh <mame@ruby-lang.org>2023-12-16 00:25:00 +0900
commite14dddcaca6eb0a6e55c128ffdceb18681009c49 (patch)
tree6dd31dedfbacc4aa7c787e9e44dc434b4245080e
parent0601bce6fc57cef5ae22a944b15b8e9fca1ef6ef (diff)
Tweak NEWS.md
* Move `define?(@var)` optimization into GC section * Remove a trailing space.
-rw-r--r--NEWS.md7
1 files 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