blob: a90f7d176539143c92c7cbbe337cef26f79c8772 (
plain)
1
2
3
4
|
``concurrent.futures`` imports ``ThreadPoolExecutor`` and
``ProcessPoolExecutor`` lazily (using :pep:`562`).
It makes ``import asyncio`` about 15% faster because asyncio
uses only ``ThreadPoolExecutor`` by default.
|