Skip to content

Commit 8fb36e9

Browse files
committed
(refactor): only do unique on filtered object
1 parent 24478f7 commit 8fb36e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ impl CodecPipelineImpl {
275275
// Assemble partial decoders ahead of time and in parallel
276276
let partial_chunk_descriptions = chunk_descriptions
277277
.iter()
278-
.unique_by(|item| item.key())
279278
.filter(|item| !(is_whole_chunk(item)))
279+
.unique_by(|item| item.key())
280280
.collect::<Vec<_>>();
281281
let mut partial_decoder_cache: HashMap<StoreKey, Arc<dyn ArrayPartialDecoderTraits>> =
282282
HashMap::new().into();

0 commit comments

Comments
 (0)