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

cache encoded data when reading dag nodes from disk #2960

Merged
merged 1 commit into from
Jul 14, 2016

Conversation

whyrusleeping
Copy link
Member

License: MIT
Signed-off-by: Jeromy why@ipfs.io

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
@Kubuxu
Copy link
Member

Kubuxu commented Jul 13, 2016

LGTM

@whyrusleeping whyrusleeping merged commit 6912f47 into master Jul 14, 2016
@whyrusleeping whyrusleeping deleted the feat/mdag-caching branch July 14, 2016 12:23
createfunc = func() *dag.Node {
return &dag.Node{Data: ft.FolderPBData()}
}
createfunc = ft.EmptyDirNode
Copy link
Member

Choose a reason for hiding this comment

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

  • it seems this is making a unixfs dir the default intermediary / create function.
  • this is probably not what we want for all patch ops.

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