diff options
author | Koichi Sasada <ko1@atdot.net> | 2021-12-06 17:19:42 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2021-12-07 02:03:30 +0900 |
commit | 660687e6fa60ff4d84805b0ef89fb19ad1b0b8f6 (patch) | |
tree | 1a5a1b0e3c28244cbfd7833d000d2d7b435e69cc | |
parent | fb356c6f5709307806695d3a79c33d7dd7fd139b (diff) |
add NEWS about the improvement of `Struct`
-rw-r--r-- | NEWS.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -355,6 +355,11 @@ Excluding feature bug fixes. ## 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. * 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. [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 - |