Skip to content

Cleanup#137

Merged
ac-freeman merged 4 commits into
mainfrom
cleanup
Jun 22, 2026
Merged

Cleanup#137
ac-freeman merged 4 commits into
mainfrom
cleanup

Conversation

@ac-freeman

Copy link
Copy Markdown
Owner

No description provided.

daniel.eades and others added 4 commits January 6, 2026 09:56
Fix the workspace build (framed_to_adder_hd.rs bench used removed
Framed/SimulProcArgs/SimulProcessor APIs from the arithmetic-coding
refactor). Remove dead code surfaced by clippy: the entirely-unused
d_controller module, ~390 lines of commented-out Bevy-era UI in
adder-viz, unused struct fields/test helpers, and panic/todo! trait
impls kept only to satisfy bounds. Fix clippy warnings (unused
vars/imports, swallowed Results, a vec![x; n] pattern that silently
dropped Vec capacity) and strip stray dbg!/eprintln! debug leftovers,
including one firing every frame in a hot path.

Performance: replace a linear D_SHIFT scan in the per-event pixel
integration path with a leading_zeros()-based bit-length lookup,
preallocate a 3D pixel buffer instead of growing it via nested
push(), and write DVS text events directly instead of building an
intermediate String per event.

All existing tests pass; cargo fmt and clippy are clean.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ac-freeman ac-freeman merged commit 9edc15e into main Jun 22, 2026
1 of 2 checks passed
@ac-freeman ac-freeman deleted the cleanup branch June 22, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant