General

Profile

georgeclaghorn (George Claghorn)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 4 6

Activity

06/03/2026

01:18 AM Ruby Bug #22092 (Closed): `Array#sum` takes slow path, does not perform compensated summation of Float elements when init argument is a Float
```
% time ruby -e 'puts Array.new(1_000_000_000, 0.1).sum'
100000000.0
ruby -e 'puts Array.new(1_000_000_000, 0.1).sum' 2.67s user 2.02s system 71% cpu 6.577 total
% time ruby -e 'puts Array.new(1_000_000_000, 0.1).sum(0.0)'
999...
georgeclaghorn (George Claghorn)

12/28/2022

06:31 PM Ruby Feature #19277: Project-scoped refinements
I didn't mention this in the original issue because it's not the primary motivation for project configuration here, but a secondary benefit of project configuration is affording a place to opt in to new interpreter features (frozen strin... georgeclaghorn (George Claghorn)
06:14 PM Ruby Feature #19277 (Open): Project-scoped refinements
Refinements are a great way to isolate patches to the files that rely on them. Nonetheless, I believe the need to explicitly enable refinements in every file that uses them has hindered their adoption. As an inciting example, it’s hard t... georgeclaghorn (George Claghorn)

12/30/2021

05:54 PM Ruby Bug #18453 (Closed): YJIT breaks Rails collection caching
A minimal app that demonstrates this issue is available [on GitHub](https://github.com/georgeclaghorn/yjit-rails-collection-caching-bug). It has:
* One model, `Post`, with a string `title` attribute.
* One controller action, `posts#ind...
georgeclaghorn (George Claghorn)

12/27/2021

10:15 PM Ruby Feature #18440: YJIT is enabled if any YJIT tuning options are set
From [the code](https://github.com/ruby/ruby/blob/2c7aed46ba886c6fc4fb15e404035755f9884d54/ruby.c#L1545), this appears to be intentional. [`setup_yjit_options`](https://github.com/ruby/ruby/blob/2c7aed46ba886c6fc4fb15e404035755f9884d54/r... georgeclaghorn (George Claghorn)
03:52 PM Ruby Feature #18440: YJIT is enabled if any YJIT tuning options are set
Sorry, there's a small typo in the example:
```
$ ruby --yjit-exec-mem-size=32 -e 'puts RubyVM::YJIT.runtime_stats.inspect'
{:inline_code_size=>67775, :outlined_code_size=>52667}
```
georgeclaghorn (George Claghorn)
03:41 PM Ruby Feature #18440 (Feedback): YJIT is enabled if any YJIT tuning options are set
I was testing YJIT in a Rails app with `RUBYOPT="--yjit --yjit-exec-mem-size=32"`. I saw some weird issues around Rails view caching, so I attempted to temporarily disable YJIT by removing `--yjit` and leaving the tuning options in place... georgeclaghorn (George Claghorn)

11/22/2021

09:03 PM Ruby Feature #18357 (Open): Proposal: stop raising when block passed to IO#each_* closes the IO
As of #17661, all of the enumeration methods on `IO`—e.g. `each_line`, `each_byte`, `each_codepoint`—raise `IOError` when the given block closes the `IO`. For example, the following code raises an `IOError` if the peer sends a line conta... georgeclaghorn (George Claghorn)

09/10/2019

05:42 PM Ruby Feature #16144: Honor Logger#level overrides in Logger#add
My GitHub PR was merged, so I think this can be closed. georgeclaghorn (George Claghorn)

09/06/2019

10:31 PM Ruby Feature #16144: Honor Logger#level overrides in Logger#add
jeremyevans0 (Jeremy Evans) wrote:
> Can you please submit this as a pull request to ruby/logger: https://github.com/ruby/logger/pulls
> ...
[Done](https://github.com/ruby/logger/pull/41).
georgeclaghorn (George Claghorn)

Also available in: Atom