-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
attribute: fix slice related function bug #3252
attribute: fix slice related function bug #3252
Conversation
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.
This looks good overall. Thanks for the included tests!
This needs a changelog update with a Fixed
entry describing the bug it resolves.
It looks like the decode logic also needs to be addressed, there are tests failing currently. |
I know this does fix the problem, but it does so at a very high cost, copying the slices into a dynamically created array. I would think we need to explore some way to achieve our goal without all the copying. |
To fix this PR, at the very least, requires fixing
|
3291de7
to
b8af9c8
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3252 +/- ##
=======================================
+ Coverage 77.6% 77.7% +0.1%
=======================================
Files 161 163 +2
Lines 11260 11227 -33
=======================================
- Hits 8741 8730 -11
+ Misses 2319 2299 -20
+ Partials 200 198 -2
|
Yes, for now, I do not find any other more efficient way to implement this, I will keep digging about this. Do you have any suggestions? @MadVikingGod @jmacd @MrAlias |
All failed checks are resolved. Please help review this again. @MrAlias |
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
65e974a
to
c01cc6d
Compare
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Signed-off-by: Ziqi Zhao zhaoziqi9146@gmail.com
fix #3108