Add TODO for improving lookup performance.

This commit is contained in:
Sean Bowe 2017-12-28 16:10:19 -07:00
parent 849f330441
commit 6841763ae7
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ fn lookup3_xy_with_conditional_negation<E: Engine, CS, Var: Copy>(
) -> Result<(AllocatedNum<E, Var>, AllocatedNum<E, Var>), SynthesisError>
where CS: ConstraintSystem<E, Variable=Var>
{
// TODO: This can be made into a 2-constraint lookup
// if it can return linear combinations rather than
// allocated numbers.
assert_eq!(bits.len(), 3);
assert_eq!(coords.len(), 4);