Don't use pkg_resources.
authorwhitequark <whitequark@whitequark.org>
Tue, 30 Jun 2020 22:08:59 +0000 (22:08 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 14:13:56 +0000 (14:13 +0000)
commit9c31a60a37ef53cb7339a84bb5f647e19f15c9e8
treed716b50662261fbd030e0818d78221c46fa42110
parent6449be379ab87d4689dc0c6236c2f48e566e9541
Don't use pkg_resources.

This package is deprecated and introduces a massive amount of startup
latency. On my machine with 264 installed Python packages, it reduces
the time required to `import nmigen` from ~100ms to ~200ms.
nmigen/__init__.py