aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorBastien Bouclet2019-10-20 09:23:51 +0200
committerBastien Bouclet2019-11-20 20:54:23 +0100
commitf8d551803cfb6c1db3d24f7ef2731c652b9a5313 (patch)
treec955443ba2caef69eab51a969c4cb003ae3c8edb /.gitattributes
parentbe0304d9d618a48acaeff3ef8ecb2f73a510e926 (diff)
downloadscummvm-rg350-f8d551803cfb6c1db3d24f7ef2731c652b9a5313.tar.gz
scummvm-rg350-f8d551803cfb6c1db3d24f7ef2731c652b9a5313.tar.bz2
scummvm-rg350-f8d551803cfb6c1db3d24f7ef2731c652b9a5313.zip
POSIX: Use fstat instead of fseek / ftell to retrieve file stream sizes
fstat is generally faster as is does not cause the IO buffer to be invalidated / refilled. Benchmark results for the startup time of the SCI engine with Gabriel Knight 1 CD: - Linux, glibc, spinning HDD, fseek/ftell: 140 ms - Linux, glibc, spinning HDD, fstat: 100 ms - 3DS, newlib, SD card, fseek/ftell: 68 s - 3DS, newlib, SD card, fstat: 11 s
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions