On 07/13/2010 11:18 PM, Hans-Peter Diettrich wrote:
When we rely on an OS file chache, we can read all files entirely into memory, instead of using buffered I/O.
Loading the complete file instead of parts of it would do unnecessary memory copies.

In fact I suppose using file mapping instead of read (and maybe write) should improve speed in many cases.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to