diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2010-05-14 16:37:37 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2010-05-14 16:37:37 +0000 |
commit | dd43229e6580520546b364c2cd87d1ffea945e8e (patch) | |
tree | 484421a0c95417d74bf6446fb84cc0eddc80aa91 /src/etap/etap_can.erl | |
parent | f2292e7f24585b690a6712dd2474cddeb81cc8d3 (diff) |
faster implementation of pread_iolist. Closes COUCHDB-762
Why it's faster:
- 2 pread() calls (instead of 3) for MD5-prefixed terms
- 1 gen_server:call (instead of 3) in all cases, also guarantees that
we don't intersperse pread() calls to different parts of the file when we
have concurrent readers.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@944336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/etap/etap_can.erl')
0 files changed, 0 insertions, 0 deletions