ruby-changes:70086
From: Koichi <ko1@a...>
Date: Tue, 7 Dec 2021 02:03:54 +0900 (JST)
Subject: [ruby-changes:70086] 660687e6fa (master): add NEWS about the improvement of `Struct`
https://git.ruby-lang.org/ruby.git/commit/?id=660687e6fa From 660687e6fa60ff4d84805b0ef89fb19ad1b0b8f6 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Mon, 6 Dec 2021 17:19:42 +0900 Subject: add NEWS about the improvement of `Struct` --- NEWS.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS.md b/NEWS.md index 04d70d5fc99..5c020b3d242 100644 --- a/NEWS.md +++ b/NEWS.md @@ -355,6 +355,11 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L355 ## Implementation improvements +* `instance_eval` and `instance_exec` now only allocate a singleton class when + required, avoiding extra objects and improving performance. [[GH-5146]] + +* The performance of `Struct` accessors is improved. [[GH-5131]] + ### JIT * The default `--jit-max-cache` is changed from 100 to 10000. @@ -434,9 +439,6 @@ See [the repository](https://github.com/ruby/error_highlight) in detail. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L439 * Now exceptions raised in finalizers will be printed to `STDERR`, unless `$VERBOSE` is `nil`. [[Feature #17798]] -* `instance_eval` and `instance_exec` now only allocate a singleton class when - required, avoiding extra objects and improving performance. [[GH-5146]] - [Bug #4443]: https://bugs.ruby-lang.org/issues/4443 [Feature #6210]: https://bugs.ruby-lang.org/issues/6210 [Feature #11256]: https://bugs.ruby-lang.org/issues/11256 @@ -478,5 +480,5 @@ See [the repository](https://github.com/ruby/error_highlight) in detail. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L480 [Feature #18290]: https://bugs.ruby-lang.org/issues/18290 [GH-1509]: https://github.com/ruby/ruby/pull/1509 [GH-4815]: https://github.com/ruby/ruby/pull/4815 +[GH-5131]: https://github.com/ruby/ruby/pull/5131 [GH-5146]: https://github.com/ruby/ruby/pull/5146 - -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/