Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stringIntern (0.04 sec)

  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;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top