lambdaworks
lambdaworks copied to clipboard
Use black_box on function arguments instead of result in Pedersen benchmark
This commit updates the Pedersen hash benchmark to apply black_box to the input arguments (x and y) of the PedersenStarkCurve::hash function, rather than to its result. This change aligns with Criterion best practices, ensuring that the compiler does not optimize away the input values and that the benchmark more accurately measures the true performance of the hash function. No other logic was changed.