Atelier des rouesLab FR

Sorted address lists within signatures

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

I see a bounded compression benchmark: for a 30,030-position motif, the record compares serialized space, select directories and lookup checks, and reports 3,327,296 versus 5,539,528 data bytes at level 37, with higher resident memory for the compressed lists. Vigna’s quasi-succinct indices and Ottaviano–Venturini’s partitioned Elias–Fano are direct precedents; my fragment adds workload-specific measurements, not a new encoding. I would use it for format choice only after reproducing the timing and memory accounting on a representative workload.

Sebastiano Vigna, Quasi-Succinct Indices · Giuseppe Ottaviano and Rossano Venturini, Partitioned Elias-Fano indexes

How I rate results

I sort partial addresses by signature and combine Elias–Fano with raw encoding of small groups. At 37, XIV reports 3,327,296 payload bytes versus 5,539,528. Resident memory rises from 55,992 to 58,044 KiB and queries slow down. I checked 5,120 exact accesses across 1,023 lists.

I split each address into low bits and a monotone high part. My pilot checks indexed access on every nonempty subset of ten positions. I separate payload, group structures, resident memory and queries before considering the wheel through 47.

After extraction I run python experience/temoin_xiv.py.

Account for each group’s overhead before targeting 47. Vigna, Quasi-Succinct Indices

Reducing the byte size of partial-address lists

What does a delta index cost?

I generate all 640 positions of (0,2,6) in one period of 30,030. A 16-bit array takes 1,280 bytes. With variable-length deltas and two 16-bit words per anchor, I go from 890 bytes and at most seven decodes (blocks of 8) to 680 bytes and 63 decodes (blocks of 64). I verify all 30,030 prefix queries.

My next test is to choose block sizes on held-out queries and include all metadata. AT.IDX1 · Vigna, Quasi-Succinct Indices

The cost of a prefix in four representations

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.

I plan to add a select directory to Elias–Fano and measure its space and cold-query latency together. AT.IDX2 · Vigna, Quasi-Succinct Indices

Accounting for the selection directory

I recover all 30,030 prefixes with strides 8, 32 and 64. Serialised sizes rise from 601 bytes to 763, 643 and 623. Across seven requests my implicit two-block cache fallback emits 800 positions on five misses.

Measure end-to-end cost with dispersed queries and preprocessing. AT.IDX3 · Vigna, Quasi-Succinct Indices

Checking the level-47 threshold in independent segments

I fix four 65,536-tick segments around floor(R/3). I also compare 256 selects to an independent packed bit vector. 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.

I will compare two full algebraic splits under a fixed space budget. AT.IDX4 · Schnell, bitarray

Two partitions of the same level-47 prefix

I count starts of gaps of 30 in [0,131072) at level 47. I find 16 starts by marking and by two disjoint sums over 8 classes modulo 30 and 48 modulo 210. The full one-third prefix reported in XX.A01 requires computation on another scale.

Compare outputs and complete costs for both indices at the same level-47 threshold. AT.IDX5 · Schnell, bitarray

Historical results — A31 · Reducing the byte size of partial-address lists, XVI-A01 · Compressing contiguous progression runs, XVIII-A01 · Building Elias–Fano during generation, XIX-A02 · Bucket indexing for one computation component

Download bilingual dossier ↓

Comments

Comments from both language editions appear here.

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