Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: How to optimize a regex on a large file read line by line ?

by LanX (Saint)
on Apr 21, 2016 at 17:05 UTC ( [id://1161133]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to optimize a regex on a large file read line by line ?
in thread How to optimize a regex on a large file read line by line ?

> Grep and egrep run slow on the Mac and do not know why.

you have optimized the chunk-size in your script manually, probably those tools where compiled with hardcoded chunk-sizes which are not optimal any more.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

update

This was my 5000 th post, time to retire....

  • Comment on Re^4: How to optimize a regex on a large file read line by line ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found