Skip to content

chore: special case G1 and G2 scalar multiplication#2248

Merged
rakita merged 1 commit intobluealloy:mainfrom
kevaundray:kw/special-case-msm-size-1
Mar 19, 2025
Merged

chore: special case G1 and G2 scalar multiplication#2248
rakita merged 1 commit intobluealloy:mainfrom
kevaundray:kw/special-case-msm-size-1

Conversation

@kevaundray
Copy link
Contributor

When an G1_MSM or G2_MSM is called with a single input, we can us the simpler scalar multiplication algorithm instead of the MSM algorithm.

@kevaundray
Copy link
Contributor Author

Same comment as here: #2247 (comment)

@kevaundray kevaundray marked this pull request as ready for review March 18, 2025 21:11
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 18, 2025

CodSpeed Performance Report

Merging #2248 will not alter performance

Comparing kevaundray:kw/special-case-msm-size-1 (a91cd70) with main (e99a186)

Summary

✅ 8 untouched benchmarks

@rakita
Copy link
Member

rakita commented Mar 19, 2025

Part of the test that runs statetest is passing, EOF validation that is failing is fixed on main

@rakita rakita merged commit f2c3db1 into bluealloy:main Mar 19, 2025
25 of 33 checks passed
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.

2 participants