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

Commit e522d373 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Change the indexing bucket size to 250 since it shows better performance."

parents 039aabcf 1aedc356
Loading
Loading
Loading
Loading
+3 −3
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 {
    // The parsing time seems acceptable for this block size based on the tests in
    // go/ic-rule-file-format.
    public static final int INDEXING_BLOCK_SIZE = 100;
    // We empirically experimented with different block sizes and identified that 250 is in the
    // optimal range of efficient computation.
    public static final int INDEXING_BLOCK_SIZE = 250;

    public static final String START_INDEXING_KEY = "START_KEY";
    public static final String END_INDEXING_KEY = "END_KEY";