-
Notifications
You must be signed in to change notification settings - Fork 3k
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
enhance: refine array view to optimize memory usage(#38736) #38808
base: master
Are you sure you want to change the base?
enhance: refine array view to optimize memory usage(#38736) #38808
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MrPresent-Han The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han go-sdk check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
30f7f6c
to
48a53db
Compare
48a53db
to
22404ce
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #38808 +/- ##
===========================================
+ Coverage 69.45% 82.95% +13.49%
===========================================
Files 294 1091 +797
Lines 26429 169640 +143211
===========================================
+ Hits 18357 140717 +122360
- Misses 8072 23330 +15258
- Partials 0 5593 +5593
|
rerun ut |
1 similar comment
rerun ut |
/lgtm |
internal/core/src/common/Array.h
Outdated
@@ -438,19 +438,42 @@ class Array { | |||
int size_ = 0; | |||
std::vector<uint64_t> offsets_{}; |
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.
- why not still keep offset ? Didn't see a strong reason to do so.
- why not change offset to unint32?
/hold |
New changes are detected. LGTM label has been removed. |
@MrPresent-Han Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco. |
e9f48cb
to
e9a67eb
Compare
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
e9a67eb
to
76efe5b
Compare
76efe5b
to
089bf62
Compare
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han go-sdk check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
089bf62
to
2d9236b
Compare
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
2d9236b
to
381a776
Compare
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han go-sdk check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
381a776
to
1843325
Compare
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
Signed-off-by: MrPresent-Han <[email protected]>
1843325
to
f5c49d7
Compare
related: #38736
700m data, array_length=10
non-mmap_offsets_uint64: 1.9G
mmap_offsets_uint64: 1.1G
mmap_offsets_uint32: 980MB