summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-11-07 23:57:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-21 23:09:03 +0000
commit9d2fd91844fe387186b780b5457d0c02bea998e7 (patch)
treeaa7f445c6ba6dc168050a234fa8b360514115dcf /bitbake/lib/bb/fetch2
parent1d8a0f4f00e4dda80b9e1c6dc05ac5d99c5a653c (diff)
downloadpoky-9d2fd91844fe387186b780b5457d0c02bea998e7.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: ecf87437ff796e17c3e4f210b5803b0136a9e8a4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
0 files changed, 0 insertions, 0 deletions