Date: Fri, 1 Feb 2002 15:12:52 -0600 From: Steven A <salyari@cs.uchicago.edu> To: Ceri <ceri@techsupport.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: PERL way too slow on cat operation; me wonders what is going on Message-ID: <20020201151251.A31607@champion.cs.uchicago.edu> In-Reply-To: <20020201133218.B440@cartman.private.techsupport.co.uk>; from ceri@techsupport.co.uk on Fri, Feb 01, 2002 at 01:32:18PM %2B0000 References: <20020131212634.A13452@abyss.cs.uchicago.edu> <20020201050637.GA4068@moo.holy.cow> <20020131230950.B15426@abyss.cs.uchicago.edu> <20020201133218.B440@cartman.private.techsupport.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
you know, your code worked fine but then i tried running the script i had a problem with and the slowdown went away. how screwed up is that. It really was a problem for a few weeks though, as I was using a similar script with lprng and the duplex queues which were using a perl filter kept stalling. anyway, from now on i am going to use perl only when necessary. otherwise: sh. yours, steve On Fri, Feb 01, 2002 at 01:32:18PM +0000, Ceri wrote: > On Thu, Jan 31, 2002 at 11:09:50PM -0600, Steven A said: > > yea it is a typo > > > > oops > > > > this doesnt change anything, i still have the problem > > > > > > cat 80megfile.ps | perl cat.pl > output.ps > > What about > > cat 80megfile.ps | perl -pe '' > output.ps > > ? > > That's gotta be the easiest round of perl golf I ever played. > > Ceri To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201151251.A31607>