Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

Optimize Chaum Pedersen Proof Generation & Validation

Ouverte
#72 1 commentaire 0 réactions 1 personne assignée Réclamée par @AddressXception Voir sur GitHub
code owner only enhancement triage
Langage dominant
C++
Étoiles
26
Forks
25
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

As a user of electionguard I would like selection and contest proof generation and validation to be as fast as possible so that I can optimize my application for performance.

Currently the code in chaum_pedersen.cpp is a line-by-line port of the python code. While this improves readability, there are multiple allocations and deallocations happening inline which incur a performance cost. We should instead refactor this code to allocate all of the necessary memory on entry, execute the operations, and then deallocate the intermediate values only at the end.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.