barretenberg icon indicating copy to clipboard operation
barretenberg copied to clipboard

Caching field normalize and bigfield self_reduce

Open Rumata888 opened this issue 7 months ago • 0 comments

Currently we just add constraints and return new elements when we normalize field elements and reduce bigfield elements. This means that a call to the same field element twice to normalize it can produce 2 sets of identical constraints. Ideally, we would cache the result and just return it

Rumata888 avatar Jul 15 '24 16:07 Rumata888