From: Jacob Fugal Date: 2006-05-25T04:20:39+09:00 Subject: Re: Zed and Luis drop the bomb on Ruby's poor performance On 5/24/06, Douglas Livingstone wrote: > 2006/5/24, Jacob Fugal : > > The interior (starting from "(defn sum...") is the same as you've got > > (minus the return statement), but I've got a lot of extra stuff > > wrapped around it. I've double checked the my sexp and parsetree gems > > are the latest (sexp-0.1, ParseTree-1.4.1). > > I think you've deleted an extra line, try putting this in after your > result=ParseTree: > > result = result[0][3][2][1][2..-1] Odd. Adding that line does indeed "fix" it (make the output match), but my original copy of parse_tree_show (copied right out of the gem directory) didn't have that line to start with. I don't care much, it just struck me as interesting. Jacob Fugal