目前的一点点发现: ls -f 最快(至少目前可以打开300+M的目录,文件量有400万+),源码中还没有找到ls的极限是多少.
源码也就是随便读读~~
shell> touch {1..100000}.txt
shell>time ls
shell>time ls -f
why?
shell>time ls -U
一点点源码: (看了并没什么用,哈哈)
目前的一点点发现: ls -f 最快(至少目前可以打开300+M的目录,文件量有400万+),源码中还没有找到ls的极限是多少.
源码也就是随便读读~~
shell> touch {1..100000}.txt
shell>time ls
shell>time ls -f
why?
shell>time ls -U
一点点源码: (看了并没什么用,哈哈)