Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Sprite animation with SDL_perl

by IlyaM (Parson)
on May 05, 2002 at 15:51 UTC ( [id://164141]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Sprite animation with SDL_perl
in thread Sprite animation with SDL_perl

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.

--
Ilya Martynov (http://martynov.org/)

  • Comment on Re: Re: Re: Sprite animation with SDL_perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://164141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found