See https://github.com/rpm-software-management/libdnf/issues/1216
Replace zck_validate_checksums() with zck_validate_data_checksum() to avoid to calculate SHA512 sums in excess of SHA256.
An evaluation with callgrind says that lr_yum_perform takes only 22% of time instead of 40% when loading metadata.
See https://github.com/rpm-software-management/libdnf/issues/1216 Replace
zck_validate_checksums()
withzck_validate_data_checksum()
to avoid to calculateSHA512
sums in excess ofSHA256
. An evaluation with callgrind says thatlr_yum_perform
takes only 22% of time instead of 40% when loading metadata.