On Sun, Mar 28, 2010 at 1:50 AM, Maize
<vhxonline@xxxxxxxxx> wrote:
After fussing with it for a few hours it seems to be a problem with
either pygame or the tar file objects. The time it takes to extract
the file into memory is around 0.003s or so. The problem occurs
exactly when it hits the pygame.image.load. I eventually found a
method to load them faster (8s as opposed to 9 hours for 379 images.)
Still a bit long. Anywho, I did move onto ZIP and whala, problems are
gone. Now it only takes 0.07s to load all 379 images. Thanks for the
response though. I think I'll just stick with ZIP for now.