Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!usenet.ins.cwru.edu!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) Newsgroups: comp.lang.perl Subject: Re: While learning PERL... a suggestion Message-ID: <1991Feb9.010434.17963@NCoast.ORG> Date: 9 Feb 91 01:04:34 GMT References: <1991Jan23.230154.27272@dbsm.oz.au> <1991Jan24.174047.2897@NCoast.ORG> <1991Feb2.150543.569@haapi.uci.com> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) Followup-To: comp.lang.perl Organization: North Coast Public Access Un*x (ncoast) Lines: 25 As quoted from <1991Feb2.150543.569@haapi.uci.com> by clay@haapi.uci.com (Clayton Haapala): +--------------- | In article <1991Jan24.174047.2897@NCoast.ORG> allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) writes: | >As quoted from <1991Jan23.230154.27272@dbsm.oz.au> by maf@thor (Martin Foord): | >+--------------- | >| about writing Cnews in perl ? Isn't this the sort of application that begs | >+--------------- | > | >Henry Spencer would have a fit. [ ;-) ] | | I have run the translator for some of the awk scripts, like histdups, | but it didn't seem to run any faster for that particular application. +--------------- a2p works, but even Larry admits (I think the manpage mentions this) that the generated code is far from optimal. I suspect that rewriting it manually in Perl, using Perl's idea of how a program should work instead of awk's, would show a large speed improvement. ++Brandon -- Me: Brandon S. Allbery VHF/UHF: KB8JRR on 220, 2m, 440 Internet: allbery@NCoast.ORG Packet: KB8JRR @ WA8BXN America OnLine: KB8JRR AMPR: KB8JRR.AmPR.ORG [44.70.4.88] uunet!usenet.ins.cwru.edu!ncoast!allbery Delphi: ALLBERY