[Lazarus] Fast file reading using file cache
Michael Van Canneyt
michael at freepascal.org
Thu Nov 19 16:26:57 CET 2015
On Thu, 19 Nov 2015, Aradeonas wrote:
> For a task I need fast file reading using OS cache system (Im using
> Windows) so if I read a file repeatedly it get less memory but my
> problem is file is large so I cant copy it to memory. Is there a way for
> it that be multi platform or at least works on Windows?
You can try memory mapping:
The same exists on Unices, using mmap().
More information about the Lazarus