[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Debug printouts - faster to screen or file?



Michael Robin wrote:

> Each character is possibly captured via popen, clipped, translated,
> antialiased, masked, blitted... This ain't no 'load [screen], char' world
> any more -
> but for files, an 'A' is still a 1-byte write to a memory-buffered file.
> One big difference is if your screen output ever requires scrolling -
> that also soaks up a lot of CPU.

Oops, yeah, you're right.  I'm still stuck in my old DOS world.  :-)

(Putting the file on a RAMdrive is probably still a good idea though.)

-- 
======================================================================
Paul Sidorsky                                          Calgary, Canada
paulsid@shaw.ca                        http://members.shaw.ca/paulsid/
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org