koilanetroc (Oleg Tolmashov)
- Login: koilanetroc
- Registered on: 10/21/2024
- Last sign in: 10/28/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 1 | 2 |
Activity
10/28/2025
-
10:11 AM Ruby Feature #21650: Performance regression: Rational#floor(ndigits) extremely slow for huge ndigits in Ruby 3.4 (ok in 3.2)
- Sure, thanks for clarification and fast reply.
-
09:13 AM Ruby Feature #21650: Performance regression: Rational#floor(ndigits) extremely slow for huge ndigits in Ruby 3.4 (ok in 3.2)
- mame (Yusuke Endoh) wrote in #note-3:
> Thank you for the report.
> ...
1. It wasn't involved in any production usage, we have fuzzy tests which generated this and it was in our test suite. Therefore I was surprised by performance degr... -
08:21 AM Ruby Feature #21650 (Feedback): Performance regression: Rational#floor(ndigits) extremely slow for huge ndigits in Ruby 3.4 (ok in 3.2)
- ## Summary
`Rational#floor(ndigits)` with a very large positive ndigits takes tens of seconds in Ruby 3.4, while it returns essentially instantly in Ruby 3.2. Reproducible on macOS and Linux. Looks like a missing fast‑path for rationals...
10/21/2024
-
11:07 AM Ruby Bug #20807 (Open): String#gsub fails when called from string subclass with a block passed
- When `String#gsub` is called from a string subclass with a block, `Regexp.last_match` is nil, but passed block is executed. Here is example code:
```ruby
def call_gsub(str)
str.gsub(/%/) do
puts "checking #{str.class}"
p...