diff options
| author | 2020-01-16 16:31:05 +0000 | |
|---|---|---|
| committer | 2020-01-16 22:31:21 +0000 | |
| commit | 85a1570149f8ef27316cf78a5ab257f96b13a47d (patch) | |
| tree | 117d4f58b5fb53c1ea8e2542ac70e596e1a2a562 | |
| parent | e8567a4a046aa4a6b13ad4e19cbe6597f98e8bea (diff) | |
Set the bucket size to 50 since the improvements show that this is the
optimal value.
Bug: 145493956
Test: No tests.
Change-Id: I156623c6e0e74bd101c93a2df4478c8375787e35
| -rw-r--r-- | services/core/java/com/android/server/integrity/model/IndexingFileConstants.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/integrity/model/IndexingFileConstants.java b/services/core/java/com/android/server/integrity/model/IndexingFileConstants.java index d21febbef9b9..0c4052adc3ed 100644 --- a/services/core/java/com/android/server/integrity/model/IndexingFileConstants.java +++ b/services/core/java/com/android/server/integrity/model/IndexingFileConstants.java @@ -18,9 +18,9 @@ package com.android.server.integrity.model; /** A helper class containing special indexing file constants. */ public final class IndexingFileConstants { - // We empirically experimented with different block sizes and identified that 250 is in the + // We empirically experimented with different block sizes and identified that 50 is in the // optimal range of efficient computation. - public static final int INDEXING_BLOCK_SIZE = 250; + public static final int INDEXING_BLOCK_SIZE = 50; public static final String START_INDEXING_KEY = "START_KEY"; public static final String END_INDEXING_KEY = "END_KEY"; |