Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stringIntern (0.16 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;
      }
    
      @Benchmark
      int stringIntern(int reps) {
        for (int i = 0; i < reps; i++) {
          String unused = Double.toHexString(Math.random()).intern();
        }
        return reps;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. 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;
      }
    
      @Benchmark
      int stringIntern(int reps) {
        for (int i = 0; i < reps; i++) {
          String unused = Double.toHexString(Math.random()).intern();
        }
        return reps;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top