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

Optimize Chaum Pedersen Proof Generation & Validation

未关闭
#72 1 条评论 0 个 reaction 已指派 1 人 已被 @AddressXception 认领 在 GitHub 查看
code owner only enhancement triage
主要语言
C++
星标
26
派生
25
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。