How to make a foreign function run as fast as possible in Windows?

alister alister.ware at ntlworld.com
Wed Sep 28 05:43:00 EDT 2016


On Tue, 27 Sep 2016 19:13:51 -0700, jfong wrote:

> eryk sun at 2016/9/27 11:44:49AM wrote:
>> The threads of a process do not share a single core. The OS schedules
>> threads to distribute the load across all cores....
> 
> hmmm... your answer overthrow all my knowledge about Python threads
> completely:-( I actually had ever considered using ProcessPoolExecutor
> to do it.
> 
> If the load was distributed by the OS schedules across all cores, does
> it means I can't make one core solely running a piece of codes for me
> and so I have no contol on its performance?

this would be implementation specific,  not part of the language 
pacification. 



-- 
Ryan's Law:
	Make three correct guesses consecutively
	and you will establish yourself as an expert.



More information about the Python-list mailing list