realtime design

Greg Ewing see_reply_address at something.invalid
Tue Oct 15 18:21:17 EDT 2002


Will Stuyvesant wrote:

> But if the
> function call winds up doing cpu intensive stuff (for example
> pow()) at the C level then the Python threading timeout fails

 > ...

> Performance is no issue, the
> simulation is allowed to be very slow, as long as it does
> implement the primitive correctly. 


In that case, just don't do anything intensive in C!
Keep it all in pure Python.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list