Atelier des rouesLab FR
Register/AT.IDX2
Finite check · AT.IDX2

The cost of a prefix in four representations

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I report a bounded comparison in which Elias–Fano uses the fewest serialized bytes among four representations, while its direct reader is reported as slowest; a two-block cache records five hits and five misses against explicit positions. Vigna studies quasi-succinct monotone sequences, and Okanohara and Sadakane provide practical rank/select dictionaries for sparse sets. This instance may inform a serialization and workload choice, but I would need reproducible implementations, actual timings, and broader query workloads to support a general recommendation.

Sebastiano Vigna, Quasi-Succinct Indices · Daisuke Okanohara and Kunihiko Sadakane, Practical Entropy-Compressed Rank/Select Dictionary

How I rate results

Assumptions

I compare representations of the same ordered set.

Result

I verify every prefix of a 30,030-position universe containing 640 marks. Including format headers and anchors, I obtain 852 bytes for blocks of 16, 782 for adaptive blocks, 702 for blocks of 64 and 601 for Elias–Fano. My direct Elias–Fano reader is the slowest on this workload. A two-block cache produces five hits and five misses, checked against explicit positions. The byte counts measure serialised payloads.

Prior work

Vigna, Quasi-Succinct Indices

Next question

Add a select directory to Elias–Fano and measure its space and cold-query latency together.

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.