Skip to content

Add precompute runtime optimizations #397

Closed

Description

@AddressXception

Feature Request

Description
As a user of the library i would like to precompute data tables used in ballot encryption and decryption that do not rely on sensitive data such as the nonces so that i can optimize the real-time perceived performance when executing encryption and decryption operations

specifically, a number of the exponentiations calculated whne encrypting a ballot are not associated with the nonce's and therefore can be precomputed in a lookup table.

similarly the discrete log lookup table used when decrypting is currently precomputed using a global cache and async function calls.

The implementation should use a consistent and reproducable pattern similar to other segments of the code which follow a functional pattern at the lowest level and include a convenience wrapper that can manage objects and global state.

Activity

  1. keithrfung commented on Sep 9, 2021

    @keithrfung
    Contributor

    I believe this is a duplicate of #410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions