Skip to content

Ra/poly factorization 10 - #141

Merged
odraccir1 merged 5 commits into
masterfrom
ra/poly_factorization_10
Aug 21, 2026
Merged

Ra/poly factorization 10#141
odraccir1 merged 5 commits into
masterfrom
ra/poly_factorization_10

Conversation

@odraccir1

Copy link
Copy Markdown
Collaborator

Add blocked Kaltofen–Shoup distinct-degree factorization as the production alternative to the existing reference implementation of #140 .

The algorithm reduces the number of Frobenius steps relative to reference distinct-degree factorization. Large Fq12 performance remains limited by the existing polynomial multiplication backends.

BN254 Fq12, degree 96:
- Crypto3 mixed-radix: 154.035 s
- FLINT: 8.287 s
- FLINT is 18.6x faster.

The gap with FLINT is getting bigger, probably for a composition effect. I analyzed the differences in the algorithm (which are unrelated to the polynomial multiplication backend) and they did not seem to explain the discrepancy.

Related to #114

@odraccir1
odraccir1 requested a review from spaceships August 21, 2026 22:13
@odraccir1
odraccir1 merged commit 69f7152 into master Aug 21, 2026
2 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