Skip to content

refactor VoxelHistogram function to subpackage#5771

Draft
abe-winter wants to merge 1 commit intoviamrobotics:mainfrom
abe-winter:aw/no-fonts
Draft

refactor VoxelHistogram function to subpackage#5771
abe-winter wants to merge 1 commit intoviamrobotics:mainfrom
abe-winter:aw/no-fonts

Conversation

@abe-winter
Copy link
Member

@abe-winter abe-winter commented Feb 19, 2026

What changed

Why

Largest contributor to binary size of CLI (and presumably modules), not needed outside of tests.

CLI binary size goes down from 59 -> 53mb.

Move VoxelHistogram to a standalone function in pointcloud/visualize
subpackage to avoid pulling liberation fonts (4.2MB), gonum/plot,
go-pdf/fpdf, and go-hep/hplot into binaries that import pointcloud
but don't need visualization. CLI binary drops from 52MB to 45MB.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test This pull request is marked safe to test from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants