* [Feature #22530] Deprecate fractional day support for Date (jeremyevans0) * Date's fractional day support is implemented inconsistently, and seems more an implementation detail of the initial Date/DateTime design then a deliberate d...jeremyevans0 (Jeremy Evans)
I think we should deprecate fractional day support in Date. This has been discussed in #21264 as well as in the PR to convert from the current C implementation to a Ruby implementation (https://github.com/ruby/date/pull/155#pullrequestre...jeremyevans0 (Jeremy Evans)
* [Feature #22466] Allow disabling the shape redblack cache via RUBY_SHAPE_REDBLACK_CACHE=disable (jeremyevans0) * The shape redblack cache causes significant problems when strict memory overcommit is used by the OS, resulting in 384M...jeremyevans0 (Jeremy Evans)
shugo (Shugo Maeda) wrote in #note-3: > jeremyevans0 (Jeremy Evans) wrote in #note-2: > ... Note that my proposal does not change `Method#==` behavior. It only changes `super_method` behavior. The issue here is that the `super_method` ...jeremyevans0 (Jeremy Evans)
If a method owner is at multiple places in the ancestry, `UnboundMethod#bind` can result in incorrect behavior, making an `UnboundMethod` from a superclass method bind to a method defined in a subclass: ```ruby module M def m = [:...jeremyevans0 (Jeremy Evans)
IMO, creating a Regexp from an untrusted string should be unsupported. Ruby's Regexp was not designed to be used with untrusted input. Users that want to create regular expressions from untrusted input should use a regular expression eng...jeremyevans0 (Jeremy Evans)
alanwu (Alan Wu) wrote in #note-1: > > If it is preferable to specify the cache size via an environment > ... I implemented support for specifying the cache size: https://github.com/ruby/ruby/pull/19509 However, it results in assert...jeremyevans0 (Jeremy Evans)
In case it assists debugging, the example works correctly in Ruby 3.0 and 3.1 (`NameError`) and fails in Ruby 3.2 and 3.3 (SEGV). So it broke between Ruby 3.1 and 3.2.jeremyevans0 (Jeremy Evans)
The shape redblack cache mmaps 384MB of memory at startup. There is currently no way to configure the amount of memory used. The code already handles an mmap failure cleanly. I would like a way to skip the mmap attempt, and the simple...jeremyevans0 (Jeremy Evans)
shugo (Shugo Maeda) wrote in #note-1: > As I commented in https://github.com/ruby/ruby/pull/19474#pullrequestreview-5609342827, with the PR change, `==` UnboundMethods can bind to non-`==` Methods: > ... I think the previous behavior w...jeremyevans0 (Jeremy Evans)