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