in reply to Perl Script performance issue
Such a process can often be several orders of magnitude faster (i.e. hundreds or even thousands times faster, perhaps even more). But this is feasible only of the data in $data_location (or the part of it that you actually use) is not too large to fit in memory.
Therefore the question asked by poj about the size of your data and about the current timings is really crucial.
If the data is too large to fit into memory, there is still the possibility of storing the data in $data_location into a database to enable indexed access to the piece of data the you need. The performance gain would be much smaller, but can still be very significant and might be sufficient for your purpose.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Script performance issue
by Tara (Initiate) on Dec 16, 2015 at 07:39 UTC | |
by poj (Abbot) on Dec 16, 2015 at 08:46 UTC | |
by Tara (Initiate) on Dec 16, 2015 at 08:56 UTC | |
by poj (Abbot) on Dec 16, 2015 at 09:05 UTC | |
by Laurent_R (Canon) on Dec 16, 2015 at 18:30 UTC |