This class caches the contents of a set of files and avoids reading files repeatedly from disk by holding onto the contents of each file as a list of strings.

Some peatedly from disk by holding onto the contents of each file as a list of strings.

Some tasks require reading from a set of files in a random manner. Opening and reading files is a time consuming operation even when the operating system is caching the contents of the files in memory. Caching files explicitly can speed up processing greatly especially where the cached form is optimised for likely access patterns.


Download from: Homepage




Author:
admin
Time:
Wednesday, June 18th, 2008 at 8:49 am
Category:
FTP, File Management
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply