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

Various optimizations #57

Merged
merged 1 commit into from
Mar 13, 2015
Merged

Various optimizations #57

merged 1 commit into from
Mar 13, 2015

Conversation

refi64
Copy link
Contributor

@refi64 refi64 commented Mar 6, 2015

This mostly just consists of changing to list comprehensions to generators (less memory) and changes lists to sets (O(1), worst-case O(n) membership tests, unlike list's always O(n)), streamlining some stuff, and changing a while loop to avoid computing all ancestors twice.

@refi64
Copy link
Contributor Author

refi64 commented Mar 12, 2015

@tonyfischetti Ping.

tonyfischetti added a commit that referenced this pull request Mar 13, 2015
@tonyfischetti tonyfischetti merged commit 24f26e3 into tonyfischetti:dev Mar 13, 2015
@tonyfischetti
Copy link
Owner

Haha, I'm so sorry I missed this! Thank you so much! Merged! :)

@tonyfischetti
Copy link
Owner

I'll probably merge this into master in a few days, too

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