Skip to main content

Module sort

Module sort 

Source
Expand description

External merge sort engine for the tile pipeline.

Provides LZ4-compressed chunk-based external sort with k-way merge, used to sort tile features by (zoom, tile_id, layer, sort_key) when the dataset exceeds available RAM.

Modulesยง

chunk
LZ4-compressed sort chunk files for spilling to disk.
entry
Sort entry โ€” the unit of data in the external merge sort.
merge
K-way merge of sorted chunk files using a min-heap.