-
-
Notifications
You must be signed in to change notification settings - Fork 633
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
GZipFile: Remove on-stack allocation #5495
Comments
Hello, I would be interested in helping with this. |
Hello. |
Thank you for the guidance on this. |
Hello, I have read the pages:
After cloning the repository, I have changed a line in the Should I show what changes I propose for the following before initiating a draft Pull Request?:
|
Sure, go ahead, a draft pull request is the best way to check if you're heading in the right direction. |
More commits have been added earlier this week to the draft pull request. |
Currently
GZipFile::ReadRestOfFile()
allocates the result on stack, resulting in 128 KiB stack usage. VS has a soft-complaint about it.We should change the
Compression::Result
type to always hold data on the heap. There's no benefit in keeping it stack-based.The text was updated successfully, but these errors were encountered: