This commit is contained in:
Joey Hess 2024-03-01 15:14:45 -04:00
parent 2bb46d046c
commit cb50cdcc58
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,10 @@
When a VURL key has multiple equivilant keys that all use the same hash,
verifying the VURL key currently has to verify each equivilant key.
Usually that is done incrementally, so it only has to read the file once. But it
still does redundant work, updating each incremental verifier with each
chunk.
This could be improved by caclulating a hash once, and then compare it
with a hash value exposed by the Backend. That seems doable but will mean
extending the Backend interface, to expose the hash value and type.
--[[Joey]]