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

merkledag: optimize DagService GetLinks for Raw Nodes. #3351

Merged
merged 1 commit into from
Nov 4, 2016

Conversation

kevina
Copy link
Contributor

@kevina kevina commented Nov 4, 2016

A Raw Node can not possible have links, so there is no need to retrieve the node.

I mentioned this is this comment #3307 (comment).
Right now there are no tests for this and this doesn't need to go in right away, I just wanted to do this before I forgot about it.

@kevina kevina added the status/in-progress In progress label Nov 4, 2016
A Raw Node can not possible have links, so there is no need to retrive
the node.

Once Raw Nodes are in common usage this can likely make a big difference
in the GC and other places that just care about the Links.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whyrusleeping whyrusleeping merged commit a9df187 into master Nov 4, 2016
@whyrusleeping whyrusleeping deleted the kevina/raw-get-link-opt branch November 4, 2016 04:23
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Nov 4, 2016
@ghost ghost mentioned this pull request Dec 23, 2016
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