Objects/Documentation
intervalle.py
I compare band merging with an anchor followed by a segmented sieve.
Download ↓"""Compare two exact backends for consecutive prime-rank queries."""
import argparse
from bisect import bisect_right
import json
from math import isqrt
import platform
import sys
from partager import CAP, fill, measure, shared
from quotients import domain, sieve_quotients
from rang_premiers import oracle
def interval_keys(a, b):
if not 0 <= a <= b:
raise ValueError("Expected 0 <= a <= b")