summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2021-12-03 12:58:09 -0800
committerGitHub <noreply@github.com>2021-12-03 12:58:09 -0800
commit3be067234f156d75e6143cca5037df7eef1bd112 (patch)
tree7412d6fd8da85ec871f0530ca4a9f3345126a27d
parentc38c1d82b14237cd9d4268b88fef28e9379280f9 (diff)
NEWS for [GH-#5146] [ci skip] (#5210)
Notes
Notes: Merged-By: jhawthorn <john@hawthorn.email>
-rw-r--r--NEWS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index df58f5a457..dc867fe9de 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -434,6 +434,9 @@ 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
@@ -475,4 +478,5 @@ See [the repository](https://github.com/ruby/error_highlight) in detail.
[Feature #18273]: https://bugs.ruby-lang.org/issues/18273
[GH-1509]: https://github.com/ruby/ruby/pull/1509
[GH-4815]: https://github.com/ruby/ruby/pull/4815
+[GH-5146]: https://github.com/ruby/ruby/pull/5146