Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Lanzaa
on Sept 8, 2016
|
parent
|
context
|
favorite
| on:
Why is printing “B” dramatically slower than print...
The find utility is probably smarter than the other methods. I know two things to watch out for: sorting the directory entries and calling stat on each entry.
You might like to read the rationale section of PEP 471:
https://www.python.org/dev/peps/pep-0471/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You might like to read the rationale section of PEP 471: https://www.python.org/dev/peps/pep-0471/