aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/stdlib/ebin/io_lib_pretty.beam
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-02-12 14:51:08 +0100
committerHans Bolinder <[email protected]>2019-02-14 13:00:15 +0100
commita1c5ccd3b5df9bcf7d6388937bb4bdc4767e4a4b (patch)
treeade754bb2454735b76d62b6dea3eb6ad2df7b62f /bootstrap/lib/stdlib/ebin/io_lib_pretty.beam
parent934f9974eb6bec43cd9445ec0f5019a4d1389428 (diff)
downloadotp-a1c5ccd3b5df9bcf7d6388937bb4bdc4767e4a4b.tar.gz
otp-a1c5ccd3b5df9bcf7d6388937bb4bdc4767e4a4b.tar.bz2
otp-a1c5ccd3b5df9bcf7d6388937bb4bdc4767e4a4b.zip
stdlib: Optimize formatted printing of terms
Try calling iolist_size() before calling string:length(). The reason is that calls to string:length/1 are slow when the argument is not a list of integers (or contains UNICODE).
Diffstat (limited to 'bootstrap/lib/stdlib/ebin/io_lib_pretty.beam')
0 files changed, 0 insertions, 0 deletions