From: fatkodima123@... Date: 2020-09-08T10:56:51+00:00 Subject: [ruby-core:99968] [Ruby master Misc#17138] DevelopersMeeting20200925Japan Issue #17138 has been updated by fatkodima (Dima Fatko). * [Feature #14394] Class.descendants (fatkodima) * Introduces `Module#descendants` method as a native way to track `Class`/`Module` descendants, instead of inefficient hack like crawling `ObjectSpace` or tracking descendants via `inherited` hook. MRI already tracks subclasses, so this won't introduce new overheads. * [Feature #17056] Array#index: Allow specifying the position to start search as in String#index (fatkodima) * If we know from which offset to start searching, this will potentially speed up the index findings. * [Bug/Feature #17030] Enumerable#grep{_v} should be optimized for Regexp (fatkodima) * From this issue, it was decided to add a new `/f` ("fast", the name is debatable) option to regexps. * When provided, the methods which previously allocated global `MatchData` objects, won't do that anymore. This will reduce memory usage overall and greatly sped things up. The benchmark results are provided in the ticket. * [Feature #15573] Permit zero step in Numeric#step and Range#step (fatkodima) * This is for consistency with other behavior. The ticket description describes the problem. Matz responded there that, and I implemented a patch and chose to raise an error on zero step. * [Feature #13683] Add strict Enumerable#single (fatkodima) * This method will ensure the collection contains only one element and return it. This feature is useful and there are many +1 on that. * The name for this method (`single`, `one`, `only`) is under discussion * Should this method accept a default (like `Hash#fetch`) when collection is empty, and how: default arg vs block? ---------------------------------------- Misc #17138: DevelopersMeeting20200925Japan https://bugs.ruby-lang.org/issues/17138#change-87506 * Author: mame (Yusuke Endoh) * Status: Open * Priority: Normal ---------------------------------------- # The next dev meeting **Date: 2020/09/25 13:00-17:00** Place/Sign-up/Agenda/Log: *TBD* - Dev meeting *IS NOT* a decision-making place. All decisions should be done at the bug tracker. - Dev meeting is a place we can ask Matz, nobu, nurse and other developers directly. - Matz is a very busy person. Take this opportunity to ask him. If you can not attend, other attendees can ask instead of you (if attendees can understand your issue). - We will write a log about the discussion to a file or to each ticket in English. - All activities are best-effort (keep in mind that most of us are volunteer developers). - The date, time and place are scheduled according to when/where we can reserve Matz's time. - *DO NOT* discuss then on this ticket, please. # Call for agenda items If you have a ticket that you want matz and committers to discuss, please post it into this ticket in the following format: ``` * [Ticket ref] Ticket title (your name) * Comment (A summary of the ticket, why you put this ticket here, what point should be discussed, etc.) ``` Example: ``` * [Feature #14609] `Kernel#p` without args shows the receiver (ko1) * I feel this feature is very useful and some people say :+1: so let discuss this feature. ``` - Comment deadline: 2020/09/18 (one week before the meeting) - The format is strict. We'll use [this script to automatically create an markdown-style agenda](https://gist.github.com/mame/b0390509ce1491b43610b9ebb665eb86). We may ignore a comment that does not follow the format. - Your comment is mandatory. We cannot read all discussion of the ticket in a limited time. -- https://bugs.ruby-lang.org/ Unsubscribe: