General

Profile

TiloS (Tilo S)

  • Login: TiloS
  • Registered on: 07/14/2020
  • Last sign in: 07/09/2021

Issues

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

Activity

07/09/2021

07:14 AM Ruby Bug #18032: Openstruct is ~20..25x slower with Ruby 3.0.0 and 3.0.1 compared to earlier versions
@mame @marcandre that is unfortunate, because initializing from a hash is probably the most frequently used form.
I agree on correctness over perfomance - I ran into the issue with pre-defined methods before :)
Thank you for takin...
TiloS (Tilo S)
05:04 AM Ruby Bug #18032 (Rejected): Openstruct is ~20..25x slower with Ruby 3.0.0 and 3.0.1 compared to earlier versions
Doing some timings with different Ruby versions, I noticed that when using Ruby 3.0.0 and 3.0.1
the time to create OpenStruct instances has significantly increased by 20..25x
```
0.936016 seconds elapsed for Class.new (Ruby 2.7.2...
TiloS (Tilo S)

07/14/2020

07:56 PM Ruby Bug #17032 (Closed): BigDecimal's `to_d` behaves inconsistent compared to `to_f`
I would expect `to_f` and `to_d` to behave identically. Specifically, `nil.to_d` should behave like `nil.to_f`.
```ruby
require 'bigdecimal'
require 'bigdecimal/util'
nil.to_f # => 0.0
nil.to_d # >> NoMethodError (undefined method...
TiloS (Tilo S)

Also available in: Atom