From: Charles Oliver Nutter Date: 2008-04-23T23:37:02+09:00 Subject: Re: Performance on method dispatch for methods defined via define_method Paul Brannan wrote: > On Wed, Apr 23, 2008 at 10:24:43PM +0900, Charles Oliver Nutter wrote: >> Not at the moment, and it's an entertaining way to break JRuby for fun >> and profit. I could add in the check for eval being aliased, and display >> a warning and deoptimize everything, but I currently do not because I've >> been waiting to see if any libraries break. So far, nobody does this. > > Maybe it should be vocal, even if you don't deoptimize: > > test.rb:42: warning: aliasing eval? you evil, evil person. > > If it's not vocal, one might not notice right away that something broke. Probably a good idea. I'll file a bug. - Charlie