Skip to content

Conversation

hawkadrian
Copy link

Optimized polynomial multiplication by removing unnecessary cloning. Changed result[i + j] = result[i + j].clone() + ... to result[i + j] += ... in both Mul implementations.

This cuts down on redundant operations during field arithmetic, which should help with performance in crypto workloads.

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.

1 participant