You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by rovarga <gi...@git.apache.org> on 2017/09/14 15:15:46 UTC
[GitHub] karaf pull request #368: Speed up string splitting operations
GitHub user rovarga opened a pull request:
https://github.com/apache/karaf/pull/368
Speed up string splitting operations
Instead of performing multiple String.indexOf(String) operations,
use String.indexOf(char) and cache its result.
Signed-off-by: Robert Varga <ni...@hq.sk>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rovarga/karaf indexof
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/368.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #368
----
commit bc2b75b2acea745abe8a1f049f0bc77d3f2a4a5d
Author: Robert Varga <ni...@hq.sk>
Date: 2017-09-14T14:54:46Z
Speed up string splitting operations
Instead of performing multiple String.indexOf(String) operations,
use String.indexOf(char) and cache its result.
Signed-off-by: Robert Varga <ni...@hq.sk>
----
---
[GitHub] karaf pull request #368: Speed up string splitting operations
Posted by rovarga <gi...@git.apache.org>.
Github user rovarga closed the pull request at:
https://github.com/apache/karaf/pull/368
---