]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: revert default BATCH_BYTES to 1_000_000
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 18 Apr 2018 20:33:56 +0000 (20:33 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 18 Apr 2018 20:55:50 +0000 (20:55 +0000)
commit1dc0f0c10fd856166a6726034de8aec53392901a
tree8635dd1a1aecd7c60fa0af2b8e0ee3e32bea4429
parent9ff904a5b93dcc7989e475e2296ff13fe530d547
searchidx: revert default BATCH_BYTES to 1_000_000

This increases indexing time by around 10% but roughly
halves memory usage of an -index process.

We will probably make this tunable in the future for people
with bigger/smaller machines.
lib/PublicInbox/SearchIdx.pm