aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-02-26 10:11:59 +0100
committerHans Bolinder <[email protected]>2019-03-05 12:02:25 +0100
commitcd5dbd5204a783743c72116d81e993ec041b7396 (patch)
tree16673271f8c9e97b2aafd41f2c6287358f56f9a1 /lib/erl_interface/src
parent23c33d5b8d5234a159b0dc39e2fe6aa99dadaed2 (diff)
downloadotp-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 'lib/erl_interface/src')
0 files changed, 0 insertions, 0 deletions