Skip to content

Add .lowest_common_ancestor #328

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

Merged

Conversation

robotdana
Copy link
Contributor

An alternative to #326 that doesn't use .unscoped

@robotdana robotdana force-pushed the lowest_common_ancestor_non_chain branch from e2c496d to c4ad6c1 Compare September 25, 2018 00:08
@robotdana robotdana mentioned this pull request Sep 25, 2018
@joevandyk
Copy link
Contributor

@robotdana sqlite3 tests are failing -- can you look into that?

@robotdana robotdana force-pushed the lowest_common_ancestor_non_chain branch 2 times, most recently from cde868c to 99e299d Compare September 25, 2018 23:50
@robotdana robotdana force-pushed the lowest_common_ancestor_non_chain branch from 99e299d to 0328522 Compare September 26, 2018 07:29
@robotdana
Copy link
Contributor Author

Tests are passing now :)

@mceachen
Copy link
Collaborator

mceachen commented Oct 2, 2018

Nice! Excellent PR (with tests and doc update, even!) 🌟

Idly curious: how expensive is that query on a large tree?

@mceachen mceachen merged commit 4587d8c into ClosureTree:master Oct 2, 2018
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.

3 participants