aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/trace_bif_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-12-02 12:31:44 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-12-05 16:06:11 +0100
commitb9a8cebcc30ee1bce8e6b57041bf07cf84630386 (patch)
tree8883bb0afad52a294f86bce089ad2f381e04ba30 /erts/emulator/test/trace_bif_SUITE.erl
parenta9cb99ef1b497b9b9279d1499c1cbaabedb416bf (diff)
downloadotp-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 'erts/emulator/test/trace_bif_SUITE.erl')
0 files changed, 0 insertions, 0 deletions