Jumps to the first element >= value. The reader can be in any state. Returns false if no such element exists.

Synopsis

Declared in <folly/compression/elias_fano/EliasFanoCoding.h>

bool
jumpTo(
    ValueType value,
    bool assumeDistinct = false);

Description

If all the values in the list can be assumed distinct, setting assumeDistinct = true can enable some optimizations.

Return Value

True if an element >= value was found.

Parameters

Name

Description

value

The value to jump to.

assumeDistinct

Whether all values in the list can be assumed distinct.

Created with MrDocs