RUM-6286: replacing joinToString when it possible, refactor a bit#2456
Merged
Conversation
xgouchet
reviewed
Dec 17, 2024
satween
force-pushed
the
tvaleev/rum-6286/join-to-string-optimizations
branch
from
December 17, 2024 12:20
ece50e3 to
39353fd
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2456 +/- ##
===========================================
- Coverage 69.99% 69.95% -0.04%
===========================================
Files 785 786 +1
Lines 29278 29279 +1
Branches 4884 4886 +2
===========================================
- Hits 20491 20480 -11
- Misses 7430 7441 +11
- Partials 1357 1358 +1
|
satween
marked this pull request as ready for review
December 17, 2024 14:13
satween
force-pushed
the
tvaleev/rum-6286/join-to-string-optimizations
branch
from
December 17, 2024 17:07
77c4ba7 to
b03562c
Compare
xgouchet
approved these changes
Dec 18, 2024
0xnm
requested changes
Dec 18, 2024
0xnm
left a comment
Member
There was a problem hiding this comment.
I left few comments/suggestions. The only blocker for me is having new extension method in the core module instead of internal.
satween
force-pushed
the
tvaleev/rum-6286/join-to-string-optimizations
branch
from
December 18, 2024 10:25
b03562c to
55518a7
Compare
satween
force-pushed
the
tvaleev/rum-6286/join-to-string-optimizations
branch
from
December 18, 2024 13:20
92867f7 to
f4159a6
Compare
0xnm
reviewed
Dec 18, 2024
satween
force-pushed
the
tvaleev/rum-6286/join-to-string-optimizations
branch
from
December 18, 2024 14:48
2255594 to
2261b18
Compare
satween
force-pushed
the
tvaleev/rum-6286/join-to-string-optimizations
branch
from
December 18, 2024 14:50
2261b18 to
b2a6eae
Compare
0xnm
approved these changes
Dec 18, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Here we're trying to reduce usages of joinToString method inside the project, replacing it with more performant string builder
Motivation
Using
joinToStringmay cause a lot of memory and cpu consumption which we trying to avoid, minimizing impact of sdk to user's codeAdditional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)