feat(engine): optimize search pipeline for 25K+ digit candidates#1
Open
oddurs wants to merge 1 commit into
Open
feat(engine): optimize search pipeline for 25K+ digit candidates#1oddurs wants to merge 1 commit into
oddurs wants to merge 1 commit into
Conversation
Wire ECM, deeper P-1/sieve tiers, and batch GCD for large-candidate searches targeting 25,000+ digit primes (~83K+ bits). - Add ECM composite pre-filter after P-1 in kbn, factorial, palindromic, primorial (catches ~1-3% more composites with smooth curve order) - Raise sieve depth cap from 1B to 10B for candidates >50K bits - Add deeper P-1 tiers: B1=2M/B2=200M (50-100K bits), B1=5M/B2=500M (100K+) - Add deeper ECM tier: B1=3M/B2=300M/30 curves for 120K+ bit candidates - Wire batch GCD (Bernstein product/remainder trees) into palindromic search - Register ecm and batch_gcd modules in lib.rs (were previously dead code) - Add 3 campaign configs: kbn-25k, factorial-25k, palindromic-25k - Fix LeaderboardRow field rename (worker_count -> node_count) in integration test Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ecmandbatch_gcdmodules in lib.rs (were dead code)LeaderboardRowfield rename in integration testTest plan
cargo checkpassescargo clippycleancargo run --release -- kbn --k 3 --base 2 --min-n 83000 --max-n 83100🤖 Generated with Claude Code