-
Notifications
You must be signed in to change notification settings - Fork 182
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
Migrate StaticDataProvider and BlobDataProvider to ZeroMap #1058
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🎉 All dependencies have been resolved ! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
After a long while, this is ready for review! Memory characteristics posted in the OP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
let BlobSchema::V001(blob) = blob; | ||
blob.resources.get(&*path).ok_or(()).map(|v| *v) | ||
}, | ||
move |zm, path, _| zm.get(&*path).ok_or(()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question (n-b)
: do you need the move here? Do you need the deref-ref?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Whoops! Looks like I need to update my dependencies...
|
Fixes #1056
Depends on #1057
Memory characteristics:
Before:
After: