index::inverted_index::create::sort

Module intermediate_rw

Source
Expand description

Intermediate codec for external sorting.

This module provides serialization and deserialization logic for handling intermediate data during the sorting process. The serialization format is as follows:

[magic][item][item]...[item]
   [4]       [?]

Each [item] is structured as:
[value len][value][bitmap len][bitmap]
    [8]       [?]       [8]        [?]

Each item represents a value and its associated bitmap, serialized with their lengths for easier deserialization.

Modules§

Structs§