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

fix memory errors and optimize code #47

Merged
merged 1 commit into from
Feb 2, 2024
Merged

fix memory errors and optimize code #47

merged 1 commit into from
Feb 2, 2024

Conversation

vtjnash
Copy link
Contributor

@vtjnash vtjnash commented Feb 2, 2024

TranscodingStreams.Memory is not a gc-rooted type, so it is not safe to use. Reduce how much that appears in the code here to make it safer. And do a bit of cleanup, so that there should be less dynamic dispatch and fewer copies in some minor places.

@vtjnash vtjnash changed the title fic memory errors and optimize code fix memory errors and optimize code Feb 2, 2024
@KristofferC KristofferC merged commit a57a1a4 into master Feb 2, 2024
10 checks passed
@KristofferC KristofferC deleted the jn/safer branch February 2, 2024 09:54
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