Atelier des rouesLab FR
Objects/Documentation

fenetres.py

I compare four strategies and check an optimal partition.

Download ↓
"""Frozen batches and exact prime counts in disjoint anchored windows. Standard library."""
import argparse
from bisect import bisect_right
import json
from math import isqrt
from pathlib import Path
import platform
from random import Random
from statistics import median
import subprocess
import sys
from time import perf_counter_ns as now
import tracemalloc

from partager import batches, independent_distinct, shared
from quotients import sieve_quotients

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.