Prefer len(os.sched_getaffinity(0))
over os.cpu_count()
#643
Job | Run time |
---|---|
6s | |
6s |
len(os.sched_getaffinity(0))
over os.cpu_count()
#643
Job | Run time |
---|---|
6s | |
6s |