Plompiler: cache constants

Caching constants and reusing them allows very significant reductions in circuits that use bytes e.g. 50% less constraints in SHA.

Many of these constraints are taken care of by the optimizer but doing this earlier makes the optimizer more efficient.

Merge request reports

Loading