danh337 (Dan H)
- Login: danh337
- Registered on: 03/30/2021
- Last sign in: 02/17/2023
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 2 | 0 | 2 |
Like
Activity
02/17/2023
- 06:38 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- rubyFeedback (robert heiler) wrote in #note-18:
> > And it feels like I cannot convince anyone here with any amount ...
02/26/2022
- 11:56 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Updated timing check code to be more fair.
- 11:20 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- This is my last attempt to show why this named method is needed. The `driver.rb` file shows the patterns that apply t...
02/22/2022
- 08:31 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- At one time there were other folks who cared about this, in #16295, but it feels like I'm the only one now. And it fe...
- 07:10 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Fixed in our extensions lib.
```
class Object
# A chainable name mainly for `String#+@`.
#
def thaw
... - 07:02 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Eregon (Benoit Daloze) wrote in #note-10:
> I meant code in a gem or in some open-source repository, so we can see t... - 02:56 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Eregon (Benoit Daloze) wrote in #note-8:
> A real-world example would be interesting. But I guess there isn't a comp...
02/21/2022
- 11:58 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Description updated again. I missed the subtlety in the case that the buffer had to be dup'ed.
There are many more... - 11:10 PM Ruby master Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Dan0042 (Daniel DeLorme) wrote in #note-1:
> Please give a concrete example of code that would benefit from such a m... - 08:55 PM Ruby master Feature #18595: Alias `String#-@` as `String#dedup`
- byroot (Jean Boussier) wrote in #note-11:
> > So if -"blah" does do interning
>
> Quick sidenote, it's best not t...
Also available in: Atom