Message316111
| Author | serhiy.storchaka |
|---|---|
| Recipients | adelfino, serhiy.storchaka |
| Date | 2018-05-03.07:11:36 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1525331497.24.0.682650639539.issue33414@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Could you show an example that exposes a significant overhead of the current implementation? There were reasons of using os.scandir() in os.walk() and glob.glob(). You may scan thousands of files and performs a heavy I/O only with few of them. There was smaller reason of using it in shutil.rmtree() -- removing an entry from the directory is fast, but likely you will spent much more time for creating a tree. But I don't know reasons of using it in shutil.copytree() in which you need to performs a heavy I/O with every file and directory. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-05-03 07:11:37 | serhiy.storchaka | set | recipients: + serhiy.storchaka, adelfino |
| 2018-05-03 07:11:37 | serhiy.storchaka | set | messageid: <1525331497.24.0.682650639539.issue33414@psf.upfronthosting.co.za> |
| 2018-05-03 07:11:37 | serhiy.storchaka | link | issue33414 messages |
| 2018-05-03 07:11:36 | serhiy.storchaka | create | |