diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-10-24 02:57:40 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-10-24 03:10:03 +0200 |
| commit | a34280dec778b7f6ba1e68450aee1c5b543aeda8 (patch) | |
| tree | a56dc2569f49d8b771f5a117649241b1eef57c2a /libpsx/include/bitstring.h | |
| parent | 9c6112eb5bec5e66bff092e8131839f38a2be39b (diff) | |
| download | psxsdk-a34280dec778b7f6ba1e68450aee1c5b543aeda8.tar.gz | |
Provide buffered fread(3)
In order to reduce calls to seek(2) (which are very expensive), this
commit keeps a sector-sized cache for each available FILE instance,
except from the standard streams, of course.
As expected, this allows calls to fread(3) to react much faster when
small, contiguous chunks are read.
Diffstat (limited to 'libpsx/include/bitstring.h')
0 files changed, 0 insertions, 0 deletions
