| Hey, the two mentioned methods use String.lastIndexOf(String) instead of the optimized single-char version.
| Benchmark |
Mode |
Cnt |
Score |
Error |
Units |
| MyBenchmark.testLastIndexOfChar |
thrpt |
20 |
219650148,267 |
± 923186,686 |
ops/s |
| MyBenchmark.testLastIndexOfString |
thrpt |
20 |
132171791,867 |
± 666131,435 |
ops/s |
A pull request will follow in some minutes. Cheers, Christoph |