|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Re: Re: Sprite animation with SDL_perlby IlyaM (Parson) |
| on May 05, 2002 at 11:51 UTC ( [id://164141]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||