diff options
author | Sverker Eriksson <[email protected]> | 2019-05-15 17:26:42 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-07-05 15:25:07 +0200 |
commit | bfee94fedd39eedd6f27b125461568fd4ceba336 (patch) | |
tree | 4f1952c05a0ba4e4b1c7586a74b743ef27dc30ef /lib | |
parent | 4172488e16506ecbf9d66a0fd55a4a91a205e66d (diff) | |
download | otp-bfee94fedd39eedd6f27b125461568fd4ceba336.tar.gz otp-bfee94fedd39eedd6f27b125461568fd4ceba336.tar.bz2 otp-bfee94fedd39eedd6f27b125461568fd4ceba336.zip |
erts: Tweak hash shrink limit
* Only shrink when we can remove one segment and still remain
below 50% table load.
* Only shrink down to two table segments. It just leads to a lot of
potentially "unnecessary" rehashing to have a chance of getting rid
of the last extra segment before the last delete op. I don't think
it's worth it.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions