Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for stringIntern (0.1 seconds)

  1. android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @CanIgnoreReturnValue
      @Benchmark
      int stringIntern(int reps) {
        for (int i = 0; i < reps; i++) {
          String unused = Double.toHexString(Math.random()).intern();
        }
        return reps;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top