Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Fast file parsing

by Vautrin (Hermit)
on Mar 05, 2004 at 18:42 UTC ( #334314=note: print w/replies, xml ) Need Help??

in reply to Fast file parsing

If I were you, I would benchmark my code on some corpus of data (preferably as likely to what I would use in production as possible). Check out: Benchmark::Timer from CPAN, or do a search for benchmarking. Then, when you find the slow sections of your algorithm, either optimize them in Perl, or use a module like Inline::CPP to speed up your code. (There are a bunch of inline modules in case you want to inline C, Assembler, Java, or whatever)

Want to support the EFF and FSF by buying cool stuff? Click here.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2022-05-18 14:14 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (71 votes). Check out past polls.