Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: performance issues

by matija (Priest)
on Jan 27, 2009 at 18:35 UTC ( #739290=note: print w/replies, xml ) Need Help??

in reply to performance issues

Think some more about this file.

Is the file only rarely changed? Or, is it changed much more rarely than it is searched? Or, at least, are the changes, when they come, relatively small?

If so, you could benefit enormously by importing the file into a database once, and then letting the database do the heavy lifting of indexing and searching.

Replies are listed 'Best First'.
Re^2: performance issues
by perlcat (Novice) on Jan 27, 2009 at 19:02 UTC
    Well the data is rarely changed - it is generated once every month. I will think about the database solution.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://739290]
[prospect]: Learning Perl There where 17 videos.
[prospect]: And it was great because I'm using the book as well, to get some more examples or extra information
[ambrus]: Ask merlyn directly. Maybe he has copies.
[ambrus]: write him an email or something
[prospect]: ok I will

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-09-25 10:33 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (279 votes). Check out past polls.