From 85a1570149f8ef27316cf78a5ab257f96b13a47d Mon Sep 17 00:00:00 2001 From: Omer Nebil Yaveroglu Date: Thu, 16 Jan 2020 16:31:05 +0000 Subject: [PATCH] Set the bucket size to 50 since the improvements show that this is the optimal value. Bug: 145493956 Test: No tests. Change-Id: I156623c6e0e74bd101c93a2df4478c8375787e35 --- .../android/server/integrity/model/IndexingFileConstants.java | 4 ++-- 1 file 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 d21febbef9b91..0c4052adc3ed7 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";