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 #13794 HashSet leak #13800

Merged
merged 1 commit into from
Mar 29, 2020
Merged

fix #13794 HashSet leak #13800

merged 1 commit into from
Mar 29, 2020

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Mar 29, 2020

16
7

ie, the data.len doesn't keep growing.
Note that data.len is 16 and not 64 but that's not a regression, that's an implementation detail (i could cap it at defaultInitialSize but shouldn't be needed)

  • I need to add tests to this PR to prevent future regressions

@dom96
Copy link
Contributor

dom96 commented Mar 29, 2020

Tested it with my game and can confirm that this resolves the problem.

@Araq Araq merged commit 06f8c5c into nim-lang:devel Mar 29, 2020
@timotheecour timotheecour deleted the pr_fix_13794 branch March 29, 2020 16:12
@dom96
Copy link
Contributor

dom96 commented Mar 29, 2020

Can we get my repro as a test case as well?

@timotheecour
Copy link
Member Author

@dom96 i will followup w a PR that adds test cases including yours

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.

hashset regression
3 participants