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

Free memory earlier by changing function scope #606

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

tomwhite
Copy link
Member

@tomwhite tomwhite commented Nov 2, 2024

I noticed this when looking an a memray graph. It doesn't seem to reduce the amount of memory actually used, but it's possible it could do in some circumstances.

@tomwhite tomwhite added the memory label Nov 2, 2024
@tomwhite tomwhite force-pushed the mem-allocation-improvement branch from b20ff97 to ea7dfe6 Compare November 2, 2024 10:27
@tomwhite tomwhite merged commit 8f4d2f7 into main Nov 4, 2024
11 of 12 checks passed
@tomwhite tomwhite deleted the mem-allocation-improvement branch November 4, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant