diff options
author | Philip Robinson <chlorophil@gmail.com> | 2011-04-27 22:42:18 +1000 |
---|---|---|
committer | Philip Robinson <chlorophil@gmail.com> | 2011-04-27 22:42:18 +1000 |
commit | 67a20c0e2f91e143536202ae969d8211e3ac3da8 (patch) | |
tree | c2b1e74237ab1c95a41fa11ee5769e03e169ef36 /lib/mnesia/test/mnesia_measure_test.erl | |
parent | ef407fad10bccb97aab140f5b99786b8c7b2237a (diff) | |
download | otp-67a20c0e2f91e143536202ae969d8211e3ac3da8.tar.gz otp-67a20c0e2f91e143536202ae969d8211e3ac3da8.tar.bz2 otp-67a20c0e2f91e143536202ae969d8211e3ac3da8.zip |
Reduce calls to phash in key_to_frag_number
Original code calls phash 1..2 times, based on which fragment the hashed key
targets and how many fragments exist. New code always calls phash only once.
Diffstat (limited to 'lib/mnesia/test/mnesia_measure_test.erl')
0 files changed, 0 insertions, 0 deletions