Skip to content

Reduce allocations in depth preview to improve FPS#3

Open
hexadecimal-REBOOT wants to merge 1 commit intomainfrom
codex/refactor-main-html-structure-for-readability-3x8rg7
Open

Reduce allocations in depth preview to improve FPS#3
hexadecimal-REBOOT wants to merge 1 commit intomainfrom
codex/refactor-main-html-structure-for-readability-3x8rg7

Conversation

@hexadecimal-REBOOT
Copy link
Copy Markdown
Owner

Summary

  • reuse cached canvases and Float32 buffers when preparing tensors to reduce per-frame allocations
  • replace the depth preview generation with histogram-based percentiles and a reusable overlay canvas to speed up drawing

Testing

  • not run

https://chatgpt.com/codex/tasks/task_e_68e1d5cb2ef0832a8c4a07c6cbaeec6a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant