[Distutils] Caching entry points - performance