- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for stringBuilderIsEmpty (0.29 sec)
-
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
/** * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate * implementation for Joiner since it fails on leading empty components. */ @Benchmark int stringBuilderIsEmpty(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder(); for (String comp : components) { if (sb.length() > 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0)