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

[NFC] Use std::vector to store large size array. #2060

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

haonanya
Copy link
Contributor

windows default stack size is 1M, BUFFER_SIZE is 2 * 1024 * 1024, use array with BUFFER_SIZE elemets on stack can exceed available stack size limits.

windows default stack size is 1M, BUFFER_SIZE is 2 * 1024 * 1024, use
array with BUFFER_SIZE elemets on stack can exceed available stack size
limits.
@haonanya
Copy link
Contributor Author

haonanya commented Aug 28, 2024

@haonanya
Copy link
Contributor Author

@svenvh , are we ready to land? I don't have merge permissions, thanks.

@svenvh
Copy link
Member

svenvh commented Aug 29, 2024

Merging as this should be uncontroversial.

@svenvh svenvh merged commit a716218 into KhronosGroup:main Aug 29, 2024
7 checks passed
@haonanya haonanya deleted the use-vector branch August 30, 2024 03:14
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.

2 participants