General

Profile

bryanp (Bryan Powell)

  • Login: bryanp
  • Email: bryan@metabahn.com
  • Registered on: 10/02/2015
  • Last sign in: 12/03/2019

Issues

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

Activity

02/06/2019

07:04 PM Ruby Bug #15591: SimpleDelegator: Undefined method when delegating a refined method
Apologies--I reported this too quickly. After looking at the implementation of `Delegator` I realized the above code should refine `BasicObject` rather than `Object`. Making that change allows both examples to work as expected. I believe... bryanp (Bryan Powell)
06:55 PM Ruby Bug #15591 (Closed): SimpleDelegator: Undefined method when delegating a refined method
SimpleDelegator does not seem compatible with refinements (tested on 2.5.3 and 2.6.0).
Here's an example:
``` ruby
require "delegate"
module SuperDuper
refine Object do
def super_duper
puts "!"
end
end
e...
bryanp (Bryan Powell)

02/07/2018

07:23 PM Ruby Bug #14435: Time#gettime slow performance in forked process
Ah, interesting. I looked around for other issues related to `tzset` and found this:
https://stackoverflow.com/questions/41353532/why-is-time-utc-slower-in-a-forked-process-in-ruby-on-os-x-and-not-in-python/41371753
I did confirm t...
bryanp (Bryan Powell)

02/02/2018

05:28 PM Ruby Bug #14435 (Closed): Time#gettime slow performance in forked process
Hi,
I'm seeing poor performance in `Time#gettime` when executing code in a forked process. Perhaps this is expected, but after a good amount of research I could not come to a reasonable conclusion.
See comparisons below:
~~~
re...
bryanp (Bryan Powell)

Also available in: Atom