Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Chunk::iter_component_arrays #8548

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Remove Chunk::iter_component_arrays #8548

merged 3 commits into from
Dec 20, 2024

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Dec 19, 2024

This method makes no sense. It's a complete anti-pattern. The whole point of the Chunk level methods is to pay the cost of reflection/downcasting/deserialization once for the whole Chunk, this can never happen with the way this method is defined.

I'm not sure what I was thinking back then. I likely wasn't. There is never a good reason to use this.

@teh-cmc teh-cmc added enhancement New feature or request 🏹 arrow concerning arrow 🚜 refactor Change the code, not the functionality labels Dec 19, 2024
@teh-cmc teh-cmc requested review from Wumpf and zehiko December 19, 2024 15:54
Copy link

github-actions bot commented Dec 19, 2024

Web viewer failed to build.

| Result | Commit | Link | Manifest |
| ------ | ------- | ----- |
| ❌ | | https://rerun.io/viewer/pr/8548 | +nightly +main |

Note: This comment is updated whenever you push a commit.

@teh-cmc
Copy link
Member Author

teh-cmc commented Dec 19, 2024

@rerun-bot full-check

Copy link

Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me

@teh-cmc teh-cmc merged commit 649d74c into main Dec 20, 2024
26 checks passed
@teh-cmc teh-cmc deleted the cmc/that_makes_no_sense branch December 20, 2024 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏹 arrow concerning arrow enhancement New feature or request include in changelog 🚜 refactor Change the code, not the functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants