store: speed up read and write of large fncache files

Authored by Bryan O'Sullivan <bryano@fb.com>.

Description

store: speed up read and write of large fncache files

In my tests of an fncache containing 300,000 entries, this improves
read time from 567ms to 307, and write time from 1328ms to 533.

These numbers aren't so great, since the fncache file is only 17MB
in size, but they're an improvement.

Details

Committed
Bryan O'Sullivan <bryano@fb.com>Apr 12 2012, 6:21 PM
Parents
rHGefae1fea4bbd: perf: time fncache read and write performance
Branches
Unknown
Tags
Unknown