-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Retain memory info from Alloc, fix pointer issue in merge #187
Conversation
Reviewed 2 of 2 files at r1. cmd/dgraphmerge/main.go, line 137 [r1] (raw file):
Also, lastKey = lastKey[0:len(top.key)]; otherwise, you get extra bytes hanging out towards the end of the slice. cmd/dgraphmerge/main.go, line 142 [r1] (raw file):
Same here. posting/lists.go, line 184 [r1] (raw file):
Add a TODO, and mark this as a temporary hack. Specify why we're sticking to ms.Alloc for now. Comments from Reviewable |
Review status: 0 of 2 files reviewed at latest revision, 3 unresolved discussions. cmd/dgraphmerge/main.go, line 137 [r1] (raw file):
|
Reviewed 2 of 2 files at r3. cmd/dgraphmerge/main.go, line 133 [r3] (raw file):
check cap of lastKey, instead of len. https://blog.golang.org/go-slices-usage-and-internals cmd/dgraphmerge/main.go, line 137 [r3] (raw file):
Move this before copy. Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions. cmd/dgraphmerge/main.go, line 133 [r3] (raw file):
|
Review status: all files reviewed at latest revision, 2 unresolved discussions. cmd/dgraphmerge/main.go, line 133 [r3] (raw file):
|
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. cmd/dgraphmerge/main.go, line 133 [r3] (raw file):
|
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. Comments from Reviewable |
Reviewed 1 of 2 files at r3, 1 of 1 files at r4. Comments from Reviewable |
Reviewed 1 of 1 files at r4. Comments from Reviewable |
Merged to master with commit 01bbadc |
This change is