Cache file contents to speed access

Category: Python - Miscellaneous

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 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. Date: 24 January, 2012


Cache File Contents - Speed Access - Access Files - Cache - File - Contents

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

CSQL Cache is updateable bi-directional table level caching solution to improve application performance by 20-100 times.

developer Developer: csql.sourceforge.net
license License: GNU General Public License (GPL)
operating systems Operating System: Linux


Browsers use page caching to some degree to allow pages to load faster after the first visit.

developer Developer: javascriptkit.com
license License: Freeware
operating systems Operating System: All


RCache provides a collection of simple object cache implementations.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


The PHP RSS class is designed to automatically parse and format rss feeds from any url, including caching of the feeds.

developer Developer: bluepalmtrees.com
license License: Freeware
operating systems Operating System: All


CachePal lets you clear your Internet History, Temporary Internet Files and Cookies from one click on your Internet Explorer toolbar.

developer Developer: bartdart.com
license License: Freeware
operating systems Operating System: All


After going through phpThumb caching hell (lots of cached files in a dir, server freezing etc) I came up with this lib.

developer Developer: cache-on-request.googlecode.com
license License: Freeware
operating systems Operating System: All


phpDataCache is a PHP class library to provide an easy API for caching data as PHP variables.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


This code demonstrates how to pick a set of random points on a torus.

developer Developer: planet-source-code.com
license License: Freeware
operating systems Operating System: All


This JavaScript displays a compact image clock that's updated live every second.

developer Developer: javascriptkit.com
license License: Freeware
operating systems Operating System: All