- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for costly (0.05 sec)
-
docs/en/docs/advanced/settings.md
### Creating the `Settings` only once with `lru_cache` { #creating-the-settings-only-once-with-lru-cache } Reading a file from disk is normally a costly (slow) operation, so you probably want to do it only once and then reuse the same settings object, instead of reading it for each request. But every time we do: ```Python Settings() ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 11.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
int hash = (auth.getUsername() + auth.getPassword()).hashCode(); buffer.append(hash).append('@'); } // consider the URL (instead of the id) as this most closely relates to the contents in the repo buffer.append(repository.getUrl()); return buffer.toString(); } private void writeLastUpdated(File touchfile, String key, String error) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/en/docs/_llm-test.md
* the status code * the string * the tag * the web framework * the wildcard * to return * to validate //// //// tab | Info
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 14:48:47 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static boolean isTryEnter(Method method) { return method.getName().startsWith("tryEnter"); } /** * Identifies just enterIfXxx methods (a subset of {@link #isAnyEnter}), which are mostly like the * enterXxx methods but behave like tryEnterXxx in some scenarios. */ private static boolean isEnterIf(Method method) { return method.getName().startsWith("enterIf"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 27.1K bytes - Viewed (0) -
scripts/translate.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:05:53 UTC 2025 - 34.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
## 0.28.0 * Implement dependency cache per request. * This avoids calling each dependency multiple times for the same request. * This is useful while calling external services, performing costly computation, etc.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:06:15 UTC 2025 - 586.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
for (int i = 0; i < length; i++) { checkElementNotNull(array[i], i); } return array; } // We do this instead of Preconditions.checkNotNull to save boxing and array-creation cost. @CanIgnoreReturnValue static Object checkElementNotNull(@Nullable Object element, int index) { if (element == null) { throw new NullPointerException("at index " + index); } return element;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* <p>Path types are often exclusive. For example, a dependency should not be both on the Java class path * and on the Java module path.</p> * * <h2>Relationship with Java compiler standard location</h2> * This enumeration is closely related to the {@link JavaFileManager.Location} enumerations. * A difference is that the latter enumerates input and output files, while {@code JavaPathType}
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ObjectArrays.java
for (int i = 0; i < length; i++) { checkElementNotNull(array[i], i); } return array; } // We do this instead of Preconditions.checkNotNull to save boxing and array-creation cost. @CanIgnoreReturnValue static Object checkElementNotNull(@Nullable Object element, int index) { if (element == null) { throw new NullPointerException("at index " + index); } return element;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0) -
fastapi/applications.py
""" ), deprecated( """ "openapi_prefix" has been deprecated in favor of "root_path", which follows more closely the ASGI standard, is simpler, and more automatic. """ ), ] = "", root_path: Annotated[ str, Doc( """Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0)