From 3e9221d94a12b54c1285923b642364acdbc31c7e Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Tue, 24 Dec 2019 14:02:50 -0500 Subject: [PATCH] Add NEWS entry about Module#name performance (#2779) --- NEWS | 3 +++ 1 file changed, 3 insertions(+) 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]