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

Provide a backend implementation for heap storage #22

Open
svenstaro opened this issue Mar 11, 2024 · 1 comment
Open

Provide a backend implementation for heap storage #22

svenstaro opened this issue Mar 11, 2024 · 1 comment

Comments

@svenstaro
Copy link

The current implementations for backend storage accept only stack-allocated arrays, either as a reference or moved. I think it would be neat as some embedded hardware supports this though with a warning that this might not be supported everywhere.

My problem is that my buffers are 320x240x16b and so I need around 160kB per buffer (and I have two of them) which is quite the squeeze in stack memory.

@jounathaen
Copy link
Collaborator

I think #23 fixes this by allowing slices as backend.

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

No branches or pull requests

2 participants