-
Notifications
You must be signed in to change notification settings - Fork 121
ArrayView::join and FixedArray::join #2125
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
base: main
Are you sure you want to change the base?
Conversation
…ient to concatenate strings within an array into a single complete string.
ArrayView::join creates unnecessary intermediate arrayCategory Inconsistent parameter types between FixedArray::join and ArrayView::joinCategory FixedArray::join could be simplified by extracting the string building logicCategory |
Pull Request Test Coverage Report for Build 6808Details
💛 - Coveralls |
improve code readability
improve code readability
@Yu-zh asked whether we should be using I think maybe we can use |
When using @string.View for separator, what should I do with string.write_string(separator) since there doesn't seem to be a write_view function? |
I think you can simply call |
Adding ArrayView::join and FixedArray::join functions makes it convenient to concatenate strings within an array into a single complete string.