diff options
author | Hans Bolinder <[email protected]> | 2019-02-26 10:11:59 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-03-05 12:02:25 +0100 |
commit | cd5dbd5204a783743c72116d81e993ec041b7396 (patch) | |
tree | 16673271f8c9e97b2aafd41f2c6287358f56f9a1 /bootstrap | |
parent | 23c33d5b8d5234a159b0dc39e2fe6aa99dadaed2 (diff) | |
download | otp-cd5dbd5204a783743c72116d81e993ec041b7396.tar.gz otp-cd5dbd5204a783743c72116d81e993ec041b7396.tar.bz2 otp-cd5dbd5204a783743c72116d81e993ec041b7396.zip |
stdlib: Correct and optimize pretty printing of strings
Avoid traversing all of the list/string when only part of it will be
used. An explicit check that the list is flat is needed since
string:slice() accepts deep lists and more.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions