add puffin in sorter into reeder function

This commit is contained in:
ManyTheFish 2023-09-19 18:40:35 +02:00
parent c2dcd66d32
commit f36c36e368

View File

@ -54,6 +54,7 @@ pub fn sorter_into_reader(
sorter: grenad::Sorter<MergeFn>,
indexer: GrenadParameters,
) -> Result<grenad::Reader<File>> {
puffin::profile_function!();
let mut writer = create_writer(
indexer.chunk_compression_type,
indexer.chunk_compression_level,