aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/AUTHORS
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-19 12:25:40 +0100
committerBjörn Gustavsson <[email protected]>2015-04-10 12:33:23 +0200
commit8724991b13d3de1f47a9b297d85a2a055992ba66 (patch)
tree3b6ad27e2d9dc5a2a2066ac9bb8baad1fb9951e9 /lib/stdlib/AUTHORS
parentf25d4d038667f6d460b6eadc026fb825bfe390a8 (diff)
downloadotp-8724991b13d3de1f47a9b297d85a2a055992ba66.tar.gz
otp-8724991b13d3de1f47a9b297d85a2a055992ba66.tar.bz2
otp-8724991b13d3de1f47a9b297d85a2a055992ba66.zip
Optimize unicode_SUITE:ex_binaries_errors* test cases
Refactor the code so that the error test cases for utf16 can share the code for big and little endian. Do the same for utf32. The major optimization is the observation that the following code: byte_size(unicode:characters_to_binary(List, unicode, {utf16,big}) can be replaced with: 2*length(List) which is much faster. (That optimization is not safe in general, but for the lists used in the error tests cases, it is.)
Diffstat (limited to 'lib/stdlib/AUTHORS')
0 files changed, 0 insertions, 0 deletions