- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for worthwhile (0.23 sec)
-
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
// faster (and that's debatable), but definitely more memory-hungry. We're // choosing to turn .precomputed() into a no-op in GWT, because it doesn't // seem to be a worthwhile tradeoff in a browser. return matcher; } static String formatCompact4Digits(double value) { return toPrecision(value, 4); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon May 27 13:56:56 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableList.java
} @Override public Spliterator<E> spliterator() { return Spliterators.spliterator(array, SPLITERATOR_CHARACTERISTICS); } // TODO(lowasser): benchmark optimizations for equals() and see if they're worthwhile // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible // serialization @GwtIncompatible // serialization Object writeReplace() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Dec 15 20:19:12 UTC 2023 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
// requireNonNull is safe because we guarantee that the first `size` elements are non-null. return (E) requireNonNull(array[index]); } // TODO(lowasser): benchmark optimizations for equals() and see if they're worthwhile // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible // serialization @GwtIncompatible // serialization Object writeReplace() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.8K bytes - Viewed (0) -
src/math/rand/v2/pcg.go
// // Numpy's PCG multiplies by the 64-bit value cheapMul // instead of the 128-bit value used here and in the official PCG code. // This does not seem worthwhile, at least for Go: not having any high // bits in the multiplier reduces the effect of low bits on the highest bits, // and it only saves 1 multiply out of 3. // (On 32-bit systems, it saves 1 out of 6, since Mul64 is doing 4.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 2.9K bytes - Viewed (0) -
src/log/slog/internal/benchmarks/handlers.go
// Because sending to a channel can be expensive due to locking, // we simulate a lock-free queue by adding the Record to a ring buffer. // Omitting the locking makes this little more than a copy of the Record, // but that is a worthwhile thing to measure because Records are on the large // side. Since nothing actually reads from the ring buffer, it can handle an // arbitrary number of Records without either blocking or allocation. type asyncHandler struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 20:33:37 UTC 2023 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableTable.java
/** @throws IllegalArgumentException if {@code existingValue} is not null. */ /* * We could have declared this method 'static' but the additional compile-time checks achieved by * referencing the type variables seem worthwhile. */ final void checkNoDuplicate(R rowKey, C columnKey, @CheckForNull V existingValue, V newValue) { checkArgument( existingValue == null,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
/** @throws IllegalArgumentException if {@code existingValue} is not null. */ /* * We could have declared this method 'static' but the additional compile-time checks achieved by * referencing the type variables seem worthwhile. */ final void checkNoDuplicate(R rowKey, C columnKey, @CheckForNull V existingValue, V newValue) { checkArgument( existingValue == null,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Comparators.java
// Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the // desired return type. However, *nested* generics introduce a special class of problems that we // think tip it over into being worthwhile. public static <T extends @Nullable Object, S extends T> Comparator<Iterable<S>> lexicographical( Comparator<T> comparator) { return new LexicographicalOrdering<S>(checkNotNull(comparator)); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
// Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the // desired return type. However, *nested* generics introduce a special class of problems that we // think tip it over into being worthwhile. public static <T extends @Nullable Object, S extends T> Comparator<Iterable<S>> lexicographical( Comparator<T> comparator) { return new LexicographicalOrdering<S>(checkNotNull(comparator)); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 08:42:51 UTC 2024 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
* worthwhile only if the precomputed matcher is queried many thousands of times. * * <p>This method has no effect (returns {@code this}) when called in GWT: it's unclear whether a * precomputed matcher is faster, but it certainly consumes more memory, which doesn't seem like a * worthwhile tradeoff in a browser. */ public CharMatcher precomputed() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.8K bytes - Viewed (0)