Yury Selivanov @1st1.dev · Nov 24

Upon further investigation, apparently wrapping a single callback in a lambda expression, significantly increased number of Python objects created and skyrocketed pressure on GC. Any code that used gather() heavily could become significantly slower. This patch fixed it entirely.

9 likes 1 replies

?

Replies

Yury Selivanov · Nov 24

Here's my final comment explaining it in bit more detail. github.com/python/cpyth... I'm not sure how soon we merge this though. The PR already clocks 246 comments on it and >2,800 lines of new code. It and it seems we're still not quite done. I originally estimated this to take one week at most 🤦‍♂️