diff options
author | Hans Bolinder <[email protected]> | 2019-02-12 14:51:08 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-02-14 13:00:15 +0100 |
commit | a1c5ccd3b5df9bcf7d6388937bb4bdc4767e4a4b (patch) | |
tree | ade754bb2454735b76d62b6dea3eb6ad2df7b62f /lib/stdlib/doc/src/zip.xml | |
parent | 934f9974eb6bec43cd9445ec0f5019a4d1389428 (diff) | |
download | otp-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 'lib/stdlib/doc/src/zip.xml')
0 files changed, 0 insertions, 0 deletions