-
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
enhance: refine array view to optimize memory usage(#38736) #38808
Conversation
@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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #38808 +/- ##
===========================================
+ Coverage 69.52% 81.14% +11.61%
===========================================
Files 296 1388 +1092
Lines 26553 196528 +169975
===========================================
+ Hits 18462 159480 +141018
- Misses 8091 31454 +23363
- Partials 0 5594 +5594
|
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 |
@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 |
f5c49d7
to
0981575
Compare
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han cpp-unit-test check failed, comment |
@MrPresent-Han go-sdk check failed, comment |
0981575
to
47f2ae8
Compare
@MrPresent-Han E2e jenkins job failed, comment |
47f2ae8
to
0d98657
Compare
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
/run-cpu-e2e |
rerun go-sdk |
@MrPresent-Han go-sdk check failed, comment |
Signed-off-by: MrPresent-Han <[email protected]>
0d98657
to
4d80704
Compare
@MrPresent-Han E2e jenkins job failed, comment |
/lgtm |
/assign @wangting0128 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrPresent-Han, xiaofan-luan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/run-cpu-e2e |
/unhold |
related: #38736
700m data, array_length=10
non-mmap_offsets_uint64: 2.0G
mmap_offsets_uint64: 1.1G
mmap_offsets_uint32: 880MB