Set the bucket size to 50 since the improvements show that this is the

optimal value.

Bug: 145493956
Test: No tests.
Change-Id: I156623c6e0e74bd101c93a2df4478c8375787e35
This commit is contained in:
Omer Nebil Yaveroglu
2020-01-16 16:31:05 +00:00
committed by Ömer Nebil Yaveroğlu
parent e8567a4a04
commit 85a1570149

View File

@@ -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";