Abstract
We present Recursive Grid Indexing (RGI), a practical software technique for accelerating non-uniform quantization and predecessor queries without relying on binary search at any stage. RGI replaces conventional logarithmic binary search with a recursive, low-branching grid structure that performs bounded leaf work together with shallow recursive descent through the grid hierarchy.
The method constructs a hierarchy of uniform auxiliary grids over the boundary range. Each query descends through a small number of grid levels and terminates in a leaf containing at most $T$ candidate boundaries, resolved via a fixed-size comparison sequence. Binary search is entirely eliminated by bounded recursive refinement.
RGI is implemented in portable C and evaluated on ARM and x86 platforms using both synthetic boundary distributions and real-world $\mu$-law audio data. Across the evaluated workloads, the method achieves approximately $1.8$-$5.1\times$ speedup over classical binary search while maintaining stable performance, small memory footprint, and architecture-independent behavior.
The method constructs a hierarchy of uniform auxiliary grids over the boundary range. Each query descends through a small number of grid levels and terminates in a leaf containing at most $T$ candidate boundaries, resolved via a fixed-size comparison sequence. Binary search is entirely eliminated by bounded recursive refinement.
RGI is implemented in portable C and evaluated on ARM and x86 platforms using both synthetic boundary distributions and real-world $\mu$-law audio data. Across the evaluated workloads, the method achieves approximately $1.8$-$5.1\times$ speedup over classical binary search while maintaining stable performance, small memory footprint, and architecture-independent behavior.
| Original language | English |
|---|---|
| Pages (from-to) | 1334-1344 |
| Number of pages | 11 |
| Journal | Software: Practice and Experience |
| Volume | 56 |
| Issue number | 11 |
| Early online date | 7 Jul 2026 |
| DOIs | |
| Publication status | Published - Nov 2026 |
Keywords
- Non-uniform quantisation
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver