ruby-changes:59458
From: Alan <ko1@a...>
Date: Wed, 25 Dec 2019 04:03:15 +0900 (JST)
Subject: [ruby-changes:59458] 3e9221d94a (master): Add NEWS entry about Module#name performance (#2779)
https://git.ruby-lang.org/ruby.git/commit/?id=3e9221d94a From 3e9221d94a12b54c1285923b642364acdbc31c7e Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Tue, 24 Dec 2019 14:02:50 -0500 Subject: Add NEWS entry about Module#name performance (#2779) diff --git a/NEWS b/NEWS index 4ca1155..0588b5d 100644 --- a/NEWS +++ b/NEWS @@ -434,6 +434,9 @@ Module:: https://github.com/ruby/ruby/blob/trunk/NEWS#L434 * 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] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/