Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: scripter
I've been writing in Bash and Perl for the past 5 weeks... While I love it, parsing custom log files without any real standards can really wear you out!

I used to script in Perl. Then, I rewrote one of my workhorse scripts (coincidentally, a log file analyzer) in Python. It ran in 1/3rd of the time.

I use regular expressions heavily. The re module in Python seems to be a lot faster than Perl.

83 posted on 09/05/2013 7:26:27 AM PDT by justlurking (tagline removed, as demanded by Admin Moderator)
[ Post Reply | Private Reply | To 66 | View Replies ]


To: justlurking

Thanks. I’ve been playing with Python more lately and didn’t think it was any faster. Will take a look.


87 posted on 09/05/2013 3:54:03 PM PDT by scripter
[ Post Reply | Private Reply | To 83 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson