From: Matt Mower Date: 2005-04-30T02:31:21+09:00 Subject: Re: Error in profiler Hi there, On 4/29/05, H. Yamamoto wrote: > >I have some code which I wanted to run under the profiler but it's > >raising an error within the profiler code: > > > This error was reported at [ruby-core:4775], and I posted patch at [ruby-core:4793]. > But that patch was slower than original one, so I reimplemented. > > Does this patch help you? (I hope calculation is correct) > Thanks for your answer and sending the patch. I'm afraid that I cannot make it work though, despite help from the #ruby-lang crew, the best I can do is: patching file `profiler.rb' patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line the suggestion from the gang in IRC being that indentation or something is wrong in the patch. I'm saving it from a plain text version of your post -- maybe it's getting messed up by GMail? Can you please send me a copy via email as a plain text attachment? Many thanks, Matt -- Matt Mower :: http://matt.blogs.it/