Skip to content

Conversation

@lighter-zz
Copy link
Contributor

@lighter-zz lighter-zz commented Dec 26, 2025

This is none-security related; some performance boost

3ae2a1e

cpu: Apple M4 Pro
BenchmarkSignatureVerify-14         3946            301279 ns/op           82047 B/op       1562 allocs/op
BenchmarkSignatureSign-14           4872            244211 ns/op            2685 B/op         54 allocs/op

this PR

pkg: github.com/elliottech/poseidon_crypto/signature/schnorr
cpu: Apple M4 Pro
BenchmarkSignatureVerify-14         4742            252260 ns/op            8564 B/op        118 allocs/op
BenchmarkSignatureSign-14           5268            228064 ns/op            1260 B/op         50 allocs/op

@irfanbozkurt
Copy link
Contributor

Flag: This causes state root mismatch in witness, I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants