Skip to content

Do not access node when iterating over query result #155

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
merged 1 commit into from
May 1, 2015

Conversation

dantleech
Copy link
Member

Currently we show the "index" of the node in the query result, which involves calling getNode on the Row object, which in turn causes a fetch from the database, slowing down everything.

Index is only used in association with same-name siblings, so not displaying it is not a big issue.

dbu added a commit that referenced this pull request May 1, 2015
Do not access node when iterating over query result
@dbu dbu merged commit 283f5bd into master May 1, 2015
@dbu dbu deleted the no_iterate_over_node branch May 1, 2015 14:07
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