- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for overhead (0.04 sec)
-
docs/contribute/concurrency.md
Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead. #### Framed protocols
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TransformedIterator.java
import com.google.common.annotations.GwtCompatible; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * An iterator that transforms a backing iterator; for internal use. This avoids the object overhead * of constructing a {@link com.google.common.base.Function Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/InvalidatableSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedIterator.java
import com.google.common.annotations.GwtCompatible; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * An iterator that transforms a backing iterator; for internal use. This avoids the object overhead * of constructing a {@link com.google.common.base.Function Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
* * @author David Richter */ @NullUnmarked public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
import com.google.caliper.Param; import java.util.Arrays; import java.util.Comparator; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])} * implementation, which uses {@link Comparable#compareTo} directly. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* * <p>Although all tasks are immediately executed in the thread that submitted the task, this * {@code ExecutorService} imposes a small locking overhead on each task submission in order to * implement shutdown and termination behavior. * * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* * <p>Although all tasks are immediately executed in the thread that submitted the task, this * {@code ExecutorService} imposes a small locking overhead on each task submission in order to * implement shutdown and termination behavior. * * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* type is determined by the crawler data serializer configuration. * </p> * <p> * The class is thread-safe and uses ThreadLocal to maintain Kryo instances * per thread to avoid synchronization overhead. * </p> * */ public class DataSerializer { /** Logger for this class. */ private static final Logger logger = LogManager.getLogger(DataSerializer.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (0)