From: Robert Dober Date: 2010-05-29T18:17:23+09:00 Subject: Re: Source Code for puts(..) On Sat, May 29, 2010 at 6:55 AM, Derril Lucci wrote: > Dear all, >  I am writing a program that for some reason one of the options takes > 20 seconds to run while the other two combined take 12 seconds.  I have > the problem narrowed down to one line of code that is always run.  This > line executes a shell command via puts(`...`).  So, I am convinced the > reason the program takes so long lies in the puts source.  If anyone can > direct to that, I would be most grateful. I am convinced that the reason lies in the shell command. If you are not, try this p "starting" x = `...` p "end" puts x HTH R. > > TL;DR:  My code is running slowly and I think puts(..) is the reason > why.  Anyone have the source for it? > > Cheers, >  dlucci > -- > Posted via http://www.ruby-forum.com/. > > -- The best way to predict the future is to invent it. -- Alan Kay