good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Sprite animation with SDL_perlby IlyaM (Parson) |
on May 05, 2002 at 15:51 UTC ( [id://164141]=note: print w/replies, xml ) | Need Help?? |
Threads cannot make program run faster unless your computer has more than one CPU because on systems with single CPU no matter if you use threads or not your program cannot force CPU to run faster. Carefuly written event based program can actually beat threads based program because they avoid system's overhead for using threads.
Try to search google for 'Threads vs Events'. You may find some interesting reading on this topic.
--
In Section
Seekers of Perl Wisdom
|
|