aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/proc_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-12 11:13:04 +0100
committerBjörn Gustavsson <[email protected]>2013-02-13 11:58:45 +0100
commit3fafadfc76d061d5d2f30afde3e647f8b8282e37 (patch)
tree2dd8fd03a447f09d247d9f9b132541399f4939c0 /lib/stdlib/src/proc_lib.erl
parentc84311ffe08d12c96d38b6464b2f0ba8cd567e42 (diff)
downloadotp-3fafadfc76d061d5d2f30afde3e647f8b8282e37.tar.gz
otp-3fafadfc76d061d5d2f30afde3e647f8b8282e37.tar.bz2
otp-3fafadfc76d061d5d2f30afde3e647f8b8282e37.zip
Only sort the result list once, just before returning
There does not seem to be any advantage of sorting the result of file:list_dir/1 directly. Disadvantages are that we'll need to be careful to keep the result sorted, and that we could waste time sorting filenames that the pattern matching will discard anyway.
Diffstat (limited to 'lib/stdlib/src/proc_lib.erl')
0 files changed, 0 insertions, 0 deletions