This guide explains how setting p_error
configuration option can affect the performance of Concrete circuits.
Adjusting table lookup error probability is discussed extensively in Table lookup exactness section. The idea is to sacrifice exactness to gain performance.
For example:
This prints:
This guide explains how to optimize cryptographic parameters by specifying composition when using modules.
When using modules, make sure to specify composition so that the compiler can select more optimal parameters based on how the functions in the module would be used.
For example:
This prints:
It means that specifying composition resulted in ~35% improvement to complexity for computing cube(square(x))
.
This guide explains how to help Concrete Optimizer to select more performant parameters to improve the execution time of Concrete circuits.
The idea is to obtain more optimal cryptographic parameters (especially for table lookups) without changing the operations within the circuit.