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

community detection: why is the cos_score variable explicitly deleted #1703

Closed
theephilocalist opened this issue Sep 19, 2022 · 2 comments · Fixed by #2381
Closed

community detection: why is the cos_score variable explicitly deleted #1703

theephilocalist opened this issue Sep 19, 2022 · 2 comments · Fixed by #2381

Comments

@theephilocalist
Copy link


Hi,
This seems like a trivial question but why is the cos_scores variable being explicitly deleted? If I'm not wrong, the garbage collector will clear that memory since it's a local variable in a loop that goes out of scope?

@nreimers
Copy link
Member

Not sure if it is needed. But sometimes there are be issues with out-of-memory

@tomaarsen
Copy link
Collaborator

Hello!

#2381 has removed this del, which should indeed not be necessary.

  • Tom Aarsen

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 a pull request may close this issue.

3 participants