FWIW, this function is called `mapconcat` in Emacs: https://www.gnu.org/software/emacs/manual/html_node/elisp/Mapping-Functions.html#index-mapconcat I once wanted this when I implemented shelljoin() and chose to just call map and join...knu (Akinori MUSHA)
Jeremy, thanks for the reply. Your point about thread-safety is well taken. It is an important advantage. As a possible compromise, we could keep the C backing and switch the behavior of methods when the class is subclassed in excha...knu (Akinori MUSHA)
I'm leaning toward making Set subclass-friendly again. That's how I've always wanted Set to be (unlike Array and Hash), and the feedback shows that there are real users and use cases that share and rely on this concept, so we shouldn't ...knu (Akinori MUSHA)
Considering the feedback we've received about compatibility in the new experimental Set implementation, it may be in our best interest to revert to the pure-Ruby version. If improving performance and reducing memory footprint remain c...knu (Akinori MUSHA)
This bug in optimization in Set#== deserves to be fixed, I think. In hindsight, adding Set#compare_by_identity might not have been the best idea.knu (Akinori MUSHA)
I can agree with this. As it turned out, subclassing the Set class did not become very common, so I think it's fine to deprecate this feature now.knu (Akinori MUSHA)
This is wonderful, and I feel like I should have done this long ago. Here's some thoughts. Set was initially designed with extensibility in mind because Hash was hard to extend via inheritance. It was also almost impossible to mak...knu (Akinori MUSHA)