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

Add capacity to slice creation, when capacity is known #1103

Merged
merged 1 commit into from
Nov 11, 2019
Merged

Add capacity to slice creation, when capacity is known #1103

merged 1 commit into from
Nov 11, 2019

Conversation

AdityaHarindar
Copy link
Contributor

@AdityaHarindar AdityaHarindar commented Oct 28, 2019

Micro-optimization to reduce memory allocations, copying.


This change is Reviewable

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ A review job has been created and sent to the PullRequest network.


@AdityaHarindar you can click here to see the review status or cancel the code review job.

@CLAassistant
Copy link

CLAassistant commented Oct 28, 2019

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Oct 28, 2019

Coverage Status

Coverage increased (+0.07%) to 77.433% when pulling 8a2c351 on AdityaHarindar:master into d57605e on dgraph-io:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 77.399% when pulling 8a2c351 on AdityaHarindar:master into d57605e on dgraph-io:master.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

Change looks good. I don't see the "when" part of the change description, ie. any branch between capacity being known or not being known, but perhaps that has occurred outside of this function.


Reviewed with ❤️ by PullRequest

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✖️ This code review was cancelled. See Details

Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

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

:lgtm: Thanks for the PR @AdityaHarindar !

Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @ashish-goswami, @jarifibrahim, and @manishrjain)

@jarifibrahim jarifibrahim merged commit 10155ab into hypermodeinc:master Nov 11, 2019
jarifibrahim pushed a commit that referenced this pull request Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants