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?
In reply to Re: gzseek for perl filehandles
by BrowserUk
in thread gzseek for perl filehandles
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |