summaryrefslogtreecommitdiffstats
path: root/openpgp/benches/merge_cert.rs
AgeCommit message (Collapse)Author
2021-08-27openpgp: De-duplicate cert components before checking signatures.Justus Winter
- Before we do anything, we'll order and deduplicate the components. If two components are the same, they will be merged, and their signatures will also be deduplicated. This improves the performance considerably when we update a certificate, because the certificates will be most likely almost identical, and we avoid about half of the signature verifications. - And indeed, benchmarking shows a 45% performance improvement on a typical cert. - Fixes #644.