-
Notifications
You must be signed in to change notification settings - Fork 13
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
add map and filter for inline strings #5
Comments
Hmmm, it seems like this is much more than |
I hit Here is a list I could quickly make:
Some of the items in the list are for performance other for getting a correct type of the result.
|
chop needs some particular work since the base method doesn't work:
|
Reviewing the big long list of string methods a little further: Some functions that can grow the string (so maybe should not be on the list)
already implemented, or for which we have PRs...
(...for returning InlineStrings rather than SubStrings or Strings)
still to do...
(...for returning InlineStrings rather than SubStrings or Strings)
And probably i'm missing plenty other candidates |
Functions that grow the string can use |
The problem is that current generic implementations for
AbstractString
fall back toString
, so e.g. we have:The text was updated successfully, but these errors were encountered: