add puffin in sorter into reeder function

This commit is contained in:
ManyTheFish 2023-09-19 18:40:35 +02:00 committed by Louis Dureuil
parent 11ea5acff9
commit db1ca21231
No known key found for this signature in database

View File

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