Atelier des rouesLab FR
Register/AT.IDX4
Comparison and enumeration cap · AT.IDX4

Checking the level-47 threshold in independent segments

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I give counts of gap-30 starts in four segments and compare a 763-byte directory with a 3,754-byte bit array on the reduced 30,030-position index; the cache misses 267 of 288 dispersed requests. Pritchard’s wheel-sieve paper explains the repeating modular pattern, while Sorenson analyzes wheel and segmented sieve variants. These small counts do not establish an algorithmic improvement. I would need the threshold and segment mapping defined, plus a full-size, equal-budget comparison with timings.

Paul Pritchard, Explaining the Wheel Sieve · Jonathan Sorenson, An Analysis of Two Prime Number Sieves

How I rate results

Assumptions

I fix four 65,536-tick segments around floor(R/3). I also compare 256 selects to an independent packed bit vector.

Result

I count 12,14,9,9 starts of gap 30 by two methods. The full prefix would need 3,127,491,163,069 segments of this size. On the reduced 30,030-position index the directory uses 763 bytes and the bitarray vector 3,754. The latter wins this microbenchmark. A two-block cache misses 267 of 288 dispersed queries.

Prior work

Schnell, bitarray · Vigna, Quasi-Succinct Indices

Next question

I will compare two full algebraic splits under a fixed space budget.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

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