diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-13 11:06:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-13 11:06:12 +0100 |
commit | 75e61e77b0d8de07bffffadc28fed90759b0e3ad (patch) | |
tree | b388979b2770ddcebf8a1fe8f27ea98a5f24e571 /tests/test_recursiveloader.py | |
parent | de7393dcb9d784f2219b97c418b27f8cf32cd622 (diff) | |
download | gemato-75e61e77b0d8de07bffffadc28fed90759b0e3ad.tar.gz |
hash: Read small-ish files into memory via a single call
Read files that are known to be small-ish (up to 1 MiB) into the memory
via a single read() call instead of reading in smaller parts. This is
mostly meant to workaround a bug in PyPy that causes wrong data when
small buffers are repeatedly passed to C extensions. Apparently slurping
the whole file does not exhibit this problem in gemato.
Diffstat (limited to 'tests/test_recursiveloader.py')
0 files changed, 0 insertions, 0 deletions