- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for slowFactorial (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
*/ int mid = (n1 + n2) >>> 1; return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2)); } @Benchmark int slowFactorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += oldSlowFactorial(slowFactorials[j]).intValue(); } return tmp; } @Benchmark int factorial(int reps) { int tmp = 0;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0)