Is Memoize what you're looking for? Generally, I agree with JavaFan. Caching file contents is a job for the OS. I agree also with graff that you should really confirm that disk reading is your bottleneck before you try to optimize it.
In reply to Re: Caching files question
by kyle
in thread Caching files question
by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |