aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/dets_v9.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-21 12:01:37 +0100
committerBjörn Gustavsson <[email protected]>2017-01-10 11:34:11 +0100
commit8fabcae494ae09bbcbd485501085c33a435adde5 (patch)
treec021ce5b23169c4f3d1383e7175f11cc7d1faccd /lib/stdlib/src/dets_v9.erl
parentaf0ae0c83aa33ff437de346552b52709649622ef (diff)
downloadotp-8fabcae494ae09bbcbd485501085c33a435adde5.tar.gz
otp-8fabcae494ae09bbcbd485501085c33a435adde5.tar.bz2
otp-8fabcae494ae09bbcbd485501085c33a435adde5.zip
Improve compilation speed for huge literal case expressions
Code with huge literal case expressions such as the following would compile very slowly: case "Very long literal string (thousands of characters)..." of . . . end. The reason is that in the case optimization each character in the string would be handled individually. Fix this bug by handling literals all at once.
Diffstat (limited to 'lib/stdlib/src/dets_v9.erl')
0 files changed, 0 insertions, 0 deletions