Skip to content

Commit 94ef347

Browse files
committed
no clue wth this is
1 parent cafc903 commit 94ef347

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

crates/top/re_sdk/src/recording_stream.rs

-22
Original file line numberDiff line numberDiff line change
@@ -1025,28 +1025,6 @@ impl RecordingStream {
10251025

10261026
let components: ChunkComponents = components?.into_iter().collect();
10271027

1028-
{
1029-
let mut all_lengths =
1030-
timelines
1031-
.values()
1032-
.map(|timeline| (timeline.name(), timeline.num_rows()))
1033-
.chain(components.iter_flattened().map(|(descr, list_array)| {
1034-
(descr.component_name.as_str(), list_array.len())
1035-
}));
1036-
1037-
if let Some((_, expected)) = all_lengths.next() {
1038-
for (name, len) in all_lengths {
1039-
if len != expected {
1040-
return Err(RecordingStreamError::Chunk(ChunkError::Malformed {
1041-
reason: format!(
1042-
"Mismatched lengths: '{name}' has length {len} but expected {expected}",
1043-
),
1044-
}));
1045-
}
1046-
}
1047-
}
1048-
}
1049-
10501028
let chunk = Chunk::from_auto_row_ids(id, ent_path.into(), timelines, components)?;
10511029

10521030
self.send_chunk(chunk);

0 commit comments

Comments
 (0)