[issue1366311] SRE engine should release the GIL when/if possible

2018-05-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: > Did you try to use regex which has this feature? For short strings and simple > patterns there may be no benefit. In my use case, it’s not possible, since the problematic API is glob.iglob() through multiple levels of calls. --

[issue1366311] SRE engine should release the GIL when/if possible

2018-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is possible to implement this feature, but it has some limitations. Did you try to use regex which has this feature? For short strings and simple patterns there may be no benefit. -- assignee: -> serhiy.storchaka

[issue1366311] SRE engine should release the GIL when/if possible

2018-05-25 Thread Armin Rigo
Change by Armin Rigo : -- nosy: -arigo ___ Python tracker ___ ___

[issue1366311] SRE engine should release the GIL when/if possible

2018-05-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm reopening this bug even though it's been long closed and even though the attached patch is no longer relevant. We recently found a degenerative performance problem with entrypoints and threads. As the number of threads increases, it