From: Tyler Prete Date: 2007-01-01T08:21:01+09:00 Subject: Re: Ruby Profiler and ruby-prof Issues break working code? ------=_Part_172481_7715991.1167607257225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline matz, Thank you for the quick response. I don't know which part of the code the problem is in, but I'm more than happy to let you look at the source code. It's a little too long to post it all here, but here's a link to it on my website. Problem14.rb I'm running ruby 1.8.5 (2006-08-25) on Windows XP SP2. Thanks for your help, Tyler Prete On 12/31/06, Yukihiro Matsumoto wrote: > > Hi, > > In message "Re: Ruby Profiler and ruby-prof Issues break working code?" > on Sun, 31 Dec 2006 19:28:39 +0900, "Tyler Prete" > writes: > > |I wrote some Ruby code to solve a little puzzle ( > |http://projecteuler.net/index.php?section=problems&id=14) that functions > |correctly. It solves for the answer and gets it right, it's just a > little > |slower than I would like. So I thought I would bring out the old > profiler > |and see what I could do to speed things up. Well... on the exact same > code > |file, no changes besides 'require "profile"' it now gives me this error: > > > > This is very weird error. I have never seen something like this. It > is very difficult to help you without error reproducing code. Is it > possible for us to see your puzzle solving code that cause the > problem? We will very appreciate if you supply information for your > platform and the version of Ruby you've run. > > matz. > > ------=_Part_172481_7715991.1167607257225--