diff options
author | Ross Burton <ross.burton@intel.com> | 2019-11-07 23:57:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-25 21:26:15 +0000 |
commit | 0d6c922af9c2d6f5e6f3f94b4c6875f2a4854646 (patch) | |
tree | 63420ea66a87fa640f6025b2e2ae73722b44f2f5 /bitbake/lib/bb/ui/uihelper.py | |
parent | 59edce3af55111c23a9189eaaff6b345774cb11b (diff) | |
download | poky-0d6c922af9c2d6f5e6f3f94b4c6875f2a4854646.tar.gz |
bitbake: utils: also use mmap for SHA256 and SHA1, for performance
md5_file() uses a mmap() window to improve performance when hashing files, so
refactor the code and do the same for SHA1 and SHA256.
(Bitbake rev: 94ede642dce8cdbf09f566e3f7e9e260d33fda27)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/uihelper.py')
0 files changed, 0 insertions, 0 deletions