Closed mathiascode closed 3 years ago
Lazily import the pulsectl module, and use the os.cpu_count() method introduced in Python 3.4. Combined with https://github.com/amikha1lov/RecApp/pull/76, the startup times are reduced by ~70 ms.
Relevant issue: https://github.com/amikha1lov/RecApp/issues/73
Lazily import the pulsectl module, and use the os.cpu_count() method introduced in Python 3.4. Combined with https://github.com/amikha1lov/RecApp/pull/76, the startup times are reduced by ~70 ms.
Relevant issue: https://github.com/amikha1lov/RecApp/issues/73