Skip to main content

Module constants

Module constants 

Source

Constants§

DEFAULT_BATCH_ROWS
Dict rows gathered before they cross into Rust (and the most rows per batch parsed from bytes): as fast as 10,000 in the crossing benchmark, with a third of the memory.
DEFAULT_DICT_CROSSING
How dicts cross by default: serialised by orjson and parsed in parallel without the GIL, which the crossing benchmark found faster than walking them and holding the GIL a third as long.
DEFAULT_MAX_QUEUED
Batches queued between the generator, the parser and the consumer.
DEFAULT_MAX_QUEUED_BYTES
Bytes of crossed data waiting to be parsed before the generator pauses.
MAX_DEFAULT_PARSE_THREADS
The most threads parsing one table’s batches by default.