General

Profile

sam.saffron (Sam Saffron)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 11 32 43

Activity

05/19/2020

03:59 AM Ruby master Feature #16897: Can a Ruby 3.0 compatible general purpose memoizer be written in such a way that it matches Ruby 2 performance?
Alternative proposal
```
def bar(*args, **kwargs)
end
def foo(*args)
bar(*args)
args
end
args =...
sam.saffron (Sam Saffron)
02:47 AM Ruby master Feature #16897: Can a Ruby 3.0 compatible general purpose memoizer be written in such a way that it matches Ruby 2 performance?
Expanded proposal:
```
def foo(...args)
bar(...)
args
end
args = foo(1, 2, {1 => 2}, a: 7, b: 9)
args.class...
sam.saffron (Sam Saffron)
03:56 AM Ruby master Feature #16891: Restore Positional Argument to Keyword Conversion
> Assuming we did not remove ruby2_keywords until a equally efficient replacement exists (which I'm assuming will be ... sam.saffron (Sam Saffron)
12:21 AM Ruby master Feature #16891: Restore Positional Argument to Keyword Conversion
I agree many gems already work, but we have built ourselves a time bomb here.
`ruby2_keywords` is certainly going to...
sam.saffron (Sam Saffron)

05/18/2020

07:10 AM Ruby master Feature #16891: Restore Positional Argument to Keyword Conversion
To me the big question @matz needs to answer is "do we want gems to work on both 3.X and 2.X?"
Personally I 100% su...
sam.saffron (Sam Saffron)

05/16/2020

01:35 AM Ruby master Feature #16897: Can a Ruby 3.0 compatible general purpose memoizer be written in such a way that it matches Ruby 2 performance?
Yes I can get this to work with hacks like this:
```ruby
def memoize_26(method_name)
cache = {}
uncached = "#{m...
sam.saffron (Sam Saffron)
12:14 AM Ruby master Feature #16897 (Open): Can a Ruby 3.0 compatible general purpose memoizer be written in such a way that it matches Ruby 2 performance?
```ruby
require 'benchmark/ips'
module Memoizer
def memoize_26(method_name)
cache = {}
uncached = "#{met...
sam.saffron (Sam Saffron)

04/29/2020

11:24 PM Ruby master Feature #16150: Add a way to request a frozen string from to_s
I can confirm that Discourse bench and Discourse works with symbol-fstring today.
Old versions of pry were broken...
sam.saffron (Sam Saffron)

04/28/2020

07:12 AM Ruby master Feature #16786: Light-weight scheduler for improved concurrency.
My big concern here is that this does not cover why #13618 was deficient and this complete greenfield implementation ... sam.saffron (Sam Saffron)

02/26/2020

07:11 AM Ruby master Bug #16654: Segfault in rb_str_hash
Nobu, This looks like Mac to me maybe llvm related? sam.saffron (Sam Saffron)

Also available in: Atom