Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85a15701 authored by Omer Nebil Yaveroglu's avatar Omer Nebil Yaveroglu Committed by Ömer Nebil Yaveroğlu
Browse files

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

optimal value.

Bug: 145493956
Test: No tests.
Change-Id: I156623c6e0e74bd101c93a2df4478c8375787e35
parent e8567a4a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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";