diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-12-02 12:31:44 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-12-05 16:06:11 +0100 |
commit | b9a8cebcc30ee1bce8e6b57041bf07cf84630386 (patch) | |
tree | 8883bb0afad52a294f86bce089ad2f381e04ba30 /lib/cosFileTransfer/info | |
parent | a9cb99ef1b497b9b9279d1499c1cbaabedb416bf (diff) | |
download | otp-b9a8cebcc30ee1bce8e6b57041bf07cf84630386.tar.gz otp-b9a8cebcc30ee1bce8e6b57041bf07cf84630386.tar.bz2 otp-b9a8cebcc30ee1bce8e6b57041bf07cf84630386.zip |
erts: Use linear search for small select_val arrays
For searching a key in an array we use linear search in arrays
up to 10 elements.
Selecting on tuple arity will always use linear search.
Instead of using two different instructions we assume selecting on
different tuple arities are always few in numbers.
Diffstat (limited to 'lib/cosFileTransfer/info')
0 files changed, 0 insertions, 0 deletions