-
-
Replying to @bascule
@bascule look at the implementation of SimpleDelegator. It’s basically the worst possible way in terms of perf. https://github.com/ruby/ruby/blob/trunk/lib/delegate.rb#L66-76 …1 reply 1 retweet 0 likes -
Replying to @tenderlove
@tenderlove@bascule um, method_missing is not that bad in terms of perf, once cached, and, it doesn't leak method objects...1 reply 0 retweets 0 likes -
Replying to @tenderlove
@tenderlove@bascule but i'm really referring to the fact that simple delegator used to leak like a goddamn sieve1 reply 0 retweets 0 likes -
Replying to @raggi2 replies 0 retweets 0 likes
-
Replying to @tenderlove
@tenderlove@raggi unfortunately fast Ruby proxies are still too hard. Needs@headius's vaporware MethodHandle toolkit ;)1 reply 1 retweet 0 likes -
Replying to @bascule
@bascule@tenderlove@raggi I could also reimpl delegate.rb with invokedynamic; you'd essentially get free delegation.2 replies 0 retweets 0 likes -
Replying to @headius
@headius@bascule@tenderlove def_delegators too please <31 reply 0 retweets 0 likes -
@headius @raggi @tenderlove InDy-powered delegate.rb would be <3 <3 <3 see also forwardable.rb
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.