Skip to content

Commit

Permalink
Pass over zombie TODOs for 0.9.1 (#3801)
Browse files Browse the repository at this point in the history
- Fixes #3800
  • Loading branch information
teh-cmc authored Oct 11, 2023
1 parent 268f140 commit f1e0a70
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
6 changes: 0 additions & 6 deletions crates/re_arrow_store/src/store_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,6 @@ impl DataStore {
} else {
// Cache miss! Craft a new instance keys from the ground up.

// TODO(#1712): That's exactly how one should create a cell of instance keys…
// but it turns out that running `TryIntoArrow` on a primitive type is orders of
// magnitude slower than manually creating the equivalent primitive array for some
// reason…
// let cell = DataCell::from_component::<InstanceKey>(0..len as u64);

// ...so we create it manually instead.
let values =
arrow2::array::UInt64Array::from_vec((0..num_instances as u64).collect_vec())
Expand Down
4 changes: 2 additions & 2 deletions crates/re_log_types/src/data_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ impl DataTable {
(&**chunk.get(control_index(COLUMN_ROW_ID)?).unwrap()).try_into_collection()?;
let col_entity_path =
(&**chunk.get(control_index(COLUMN_ENTITY_PATH)?).unwrap()).try_into_collection()?;
// TODO(#1712): This is unnecessarily slow…
// TODO(#3741): This is unnecessarily slow…
let col_num_instances =
(&**chunk.get(control_index(COLUMN_NUM_INSTANCES)?).unwrap()).try_into_collection()?;

Expand Down Expand Up @@ -1005,7 +1005,7 @@ impl DataTable {
.downcast_ref::<ListArray<i32>>()
.ok_or(DataTableError::NotAColumn(component.to_string()))?
.iter()
// TODO(#1805): Schema metadata gets cloned in every single array.
// TODO(#3741): Schema metadata gets cloned in every single array.
// This'll become a problem as soon as we enable batching.
.map(|array| array.map(|values| DataCell::from_arrow(component, values)))
.collect(),
Expand Down
2 changes: 1 addition & 1 deletion crates/re_tuid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct Tuid {
#[cfg(feature = "arrow2_convert")]
arrow2_convert::arrow_enable_vec_for_type!(Tuid);

// TODO(#1774): shouldn't have to write this manually
// TODO(#3741): shouldn't have to write this manually
#[cfg(feature = "arrow2_convert")]
impl arrow2_convert::field::ArrowField for Tuid {
type Type = Self;
Expand Down
23 changes: 22 additions & 1 deletion rerun_py/rerun_sdk/rerun/log_deprecated/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,31 @@
from rerun.recording_stream import RecordingStream

# Legacy alias for `TranslationAndMat3x3`
# TODO(#3275): Deprecation notices on these
TranslationAndMat3 = TranslationAndMat3x3
"""
!!! Warning "Deprecated"
Please migrate to [rerun.log][] with [rerun.TranslationAndMat3x3][].
See [the migration guide](https://www.rerun.io/docs/reference/migration-0-9) for more details.
"""

# Legacy alias for `TranslationRotationScale3D`
Rigid3D = TranslationRotationScale3D
"""
!!! Warning "Deprecated"
Please migrate to [rerun.log][] with [rerun.TranslationRotationScale3D][].
See [the migration guide](https://www.rerun.io/docs/reference/migration-0-9) for more details.
"""

# Legacy alias for `Vec3D`
Translation3D = Vec3D
"""
!!! Warning "Deprecated"
Please migrate to [rerun.log][] with [rerun.datatypes.Vec3D][].
See [the migration guide](https://www.rerun.io/docs/reference/migration-0-9) for more details.
"""


__all__ = [
Expand Down

0 comments on commit f1e0a70

Please sign in to comment.