summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2019-12-24 14:02:50 -0500
committerGitHub <noreply@github.com>2019-12-24 14:02:50 -0500
commit3e9221d94a12b54c1285923b642364acdbc31c7e (patch)
treec99b339c8a6e2c265fad13b5d63911e48231029c
parent5220145ea289d9eb955b373f31773fab2d4f0271 (diff)
Add NEWS entry about Module#name performance (#2779)
Notes
Notes: Merged-By: XrXr
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4ca115517e..0588b5d818 100644
--- a/NEWS
+++ b/NEWS
@@ -434,6 +434,9 @@ Module::
* Module#autoload? now takes an +inherit+ optional argument, like
Module#const_defined?. [Feature #15777]
+ * Module#name and Module#inspect no longer search through all defined
+ constants when the receiver is anonymous. [Feature #15765]
+
* Module#name now always returns a frozen String. The returned String is
always the same for a given Module. This change is
experimental. [Feature #16150]