General

Profile

sam.saffron (Sam Saffron)

Issues

Activity

11/13/2019

09:02 PM Ruby master Feature #16345: Don't emit deprecation warnings by default.
> I'm against not emitting deprecation warnings by default.
I disagree with this, in this case the enormous amoun...
sam.saffron (Sam Saffron)
04:53 AM Ruby master Feature #16345: Don't emit deprecation warnings by default.
I also support this, seems like a much better default. In fact when 3.0 upgrade becomes a must cause 2.7 is going EOL... sam.saffron (Sam Saffron)

11/11/2019

01:00 AM Ruby master Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Note... some of this fiddling with keyword arguments is showing up as a slowdown in rubybench
https://rubybench.or...
sam.saffron (Sam Saffron)

11/10/2019

10:20 PM Ruby master Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Just to provide some context on the extent of the issue.
Running the spec suite for Discourse results in 2,698,774...
sam.saffron (Sam Saffron)

11/08/2019

07:01 AM Ruby master Feature #14183: "Real" keyword argument
Matz said:
> If we made the decision, we will make it warn you first for a year or two before the actual change.
...
sam.saffron (Sam Saffron)

11/01/2019

02:41 AM Ruby master Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
I am 100% with Rafael here, this is a very risky change, Rails and Sprockets are only a couple of projects, there wil... sam.saffron (Sam Saffron)

10/21/2019

05:14 AM Ruby master Bug #16268 (Closed): Consistent segfault with ObjectSpace.count_imemo_objects
On 2.6.5:
> irb
> require 'objspace'
> ObjectSpace.count_imemo_objects
Segfaults with:
```
/usr/local/li...
sam.saffron (Sam Saffron)

10/17/2019

09:16 PM Ruby master Feature #16245: Add interfaces to count and measure size all IMEMO objects
Yes!
ObjectSpace.memsize_of_imemo_objects sounds perfect to me.
I also support adding `ObjectSpace.each_iseq`...
sam.saffron (Sam Saffron)
09:09 PM Ruby master Feature #16029: Expose fstring related APIs to C-extensions
Koichi,
What about rb_str_fstring_lookup and rb_str_fstring_lookup_enc? Both will not create strings so shared st...
sam.saffron (Sam Saffron)

10/14/2019

05:22 AM Ruby master Feature #16029: Expose fstring related APIs to C-extensions
I was thinking something like?
```
VALUE
rb_fstring_lookup(char *ptr, rb_encoding *enc)
{
st_data_t fstrin...
sam.saffron (Sam Saffron)

Also available in: Atom