Skip to main navigation Skip to search Skip to main content

Recursive Grid Indexing for Fast Non-Uniform Quantization Without Binary Search

Research output: Contribution to journal › Article › peer-review

3 Downloads (Pure)

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.
Original languageEnglish
Pages (from-to)1334-1344
Number of pages11
JournalSoftware: Practice and Experience
Volume56
Issue number11
Early online date7 Jul 2026
DOIs
Publication statusPublished - Nov 2026

Keywords

  • Non-uniform quantisation

Cite this