[前][次][番号順一覧][スレッド一覧]

ruby-changes:70051

From: John <ko1@a...>
Date: Sat, 4 Dec 2021 05:58:27 +0900 (JST)
Subject: [ruby-changes:70051] 3be067234f (master): NEWS for [GH-#5146] [ci skip] (#5210)

https://git.ruby-lang.org/ruby.git/commit/?id=3be067234f

From 3be067234f156d75e6143cca5037df7eef1bd112 Mon Sep 17 00:00:00 2001
From: John Hawthorn <john@h...>
Date: Fri, 3 Dec 2021 12:58:09 -0800
Subject: NEWS for [GH-#5146] [ci skip] (#5210)

---
 NEWS.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NEWS.md b/NEWS.md
index df58f5a4577..dc867fe9dee 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -434,6 +434,9 @@ See [the repository](https://github.com/ruby/error_highlight) in detail. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L434
 * 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. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L478
 [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
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]