Message397110
mimetypes.init is slow on Windows because of the big registry search, which involves touching thousands of entries in order to add a few hundred into the initial table.
Things get even worse when audit hooks are enabled, because the winreg methods need to be hooked. However, we know that this particular operation is coming from core, and so we could skip these hooks.
Both issues can be trivially solved (helped) with a native accelerator function. |
|
Date |
User |
Action |
Args |
2021-07-07 20:06:39 | steve.dower | set | recipients:
+ steve.dower |
2021-07-07 20:06:39 | steve.dower | set | messageid: <1625688399.61.0.349492251781.issue44582@roundup.psfhosted.org> |
2021-07-07 20:06:39 | steve.dower | link | issue44582 messages |
2021-07-07 20:06:39 | steve.dower | create | |
|