Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for improved (0.2 sec)

  1. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

          placeholder: e.g., `com.google.common.collect.ImmutableList::of`
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: How do you want it to be improved?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Why do we need it to be improved?
        validations:
          required: true
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/PercentEscaper.java

        boolean[] octets = new boolean[maxChar + 1];
        for (char c : safeCharArray) {
          octets[c] = true;
        }
        return octets;
      }
    
      /*
       * Overridden for performance. For unescaped strings this improved the performance of the uri
       * escaper from ~760ns to ~400ns as measured by {@link CharEscapersBenchmark}.
       */
      @Override
      protected int nextEscapeIndex(CharSequence csq, int index, int end) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
     *
     * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code
     * <Integer>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality
     *   <li>Can be queried without allocating garbage
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Integer>}:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
     *
     * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code
     * <Double>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Double>}:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *       significantly worse than a {@code PriorityQueue} with manual eviction above the maximum
     *       size. In many cases {@link Ordering#leastOf} may work for your use case with significantly
     *       improved (and asymptotically superior) performance.
     *   <li>The retrieval operations {@link #peek}, {@link #peekFirst}, {@link #peekLast}, {@link
     *       #element}, and {@link #size} are constant-time.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
     *
     * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code
     * <Long>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Long>}:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

            localAlternatingKeysAndValues = alternatingKeysAndValues;
            if (!throwIfDuplicateKeys) {
              // We want to retain only the last-put value for any given key, before sorting.
              // This could be improved, but orderEntriesByValue is rather rarely used anyway.
              localAlternatingKeysAndValues = lastEntryForEachKey(localAlternatingKeysAndValues, size);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

            Entry<K, V>[] nonNullEntries = (Entry<K, V>[]) entries;
            if (!throwIfDuplicateKeys) {
              // We want to retain only the last-put value for any given key, before sorting.
              // This could be improved, but orderEntriesByValue is rather rarely used anyway.
              nonNullEntries = lastEntryForEachKey(nonNullEntries, size);
              localSize = nonNullEntries.length;
            }
            Arrays.sort(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMinChar = (char) safeMin;
          this.safeMaxChar = (char) Math.min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Cache.java

      V getIfPresent(@CompatibleWith("K") Object key);
    
      /**
       * Returns the value associated with {@code key} in this cache, obtaining that value from {@code
       * loader} if necessary. The method improves upon the conventional "if cached, return; otherwise
       * create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its
       * {@link LoadingCache#get(Object) get(K)} method instead of this one.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
Back to top