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

Optimize Chaum Pedersen Proof Generation & Validation

Đang mở
#72 1 bình luận 0 reaction 1 người được giao Được @AddressXception nhận Xem trên GitHub
code owner only enhancement triage
Ngôn ngữ chính
C++
Star
26
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.