in reply to gzseek for perl filehandles
You'd be well to consider the performance impact of random seeks within a compressed file in the light of this from the zlib docs:
If file is open for reading, the implementation may still need to uncompress all of the data up to the new offset. As a result, gzseek() may be extremely slow in some circumstances.
Just how large is your file of words?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: gzseek for perl filehandles
by Anonymous Monk on Dec 23, 2010 at 15:43 UTC | |
by Anonymous Monk on Dec 23, 2010 at 15:58 UTC | |
by BrowserUk (Patriarch) on Dec 23, 2010 at 21:02 UTC | |
by Corion (Patriarch) on Dec 23, 2010 at 21:18 UTC | |
by BrowserUk (Patriarch) on Dec 24, 2010 at 00:31 UTC |