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

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

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

Test Results: https://docs.google.com/document/d/1ABbLYy0wTyInXEVW-RennfW3IWrwDTJQaS4FVT6niGQ/edit?usp=sharing

Bug: 145493956
Test: No new tests.
Change-Id: I285b40b329065da9d286c0f86e792cdee419545a
parent 682dec63
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";