Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Unnecessarily large ring buffer subbuffer size. #6

Open
ExPixel opened this issue Apr 20, 2020 · 0 comments
Open

Unnecessarily large ring buffer subbuffer size. #6

ExPixel opened this issue Apr 20, 2020 · 0 comments

Comments

@ExPixel
Copy link
Owner

ExPixel commented Apr 20, 2020

pub const SUBBUFFER_LEN: usize = 1024;
pub const SUBBUFFER_COUNT: usize = 16;

Since I'm polling these 8 at a time anyway they probably don't have to be this large. At the moment the buffers are taking up a minimum 64K.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant