Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Regarding density optimization #21

Open
weikengchen opened this issue Nov 24, 2020 · 0 comments
Open

Regarding density optimization #21

weikengchen opened this issue Nov 24, 2020 · 0 comments

Comments

@weikengchen
Copy link
Member

weikengchen commented Nov 24, 2020

The recent upgrade, which switches the core protocols to xJsnark's, has suggested considerations on a separate metric: density.

Basically, xJsnark's techniques have been developed sophisticatedly toward reducing the number of constraints. However, some of the techniques may not be best for density. As we already found,

  • Selecting parameters that minimize the number of constraints (smaller limbs) could lead to a high density during the mul_without_reduce.
  • The linear checking approach used for creating multiplication limbs does not work the best for density.

In addition, it might be worthwhile to see if the old method of reduction (which does not always reduce to the normal form) would result in a much smaller density.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant