The Dink Network

Reply to Re: PSP Dink - new version

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 5th 2009, 05:42 AM
farmer.gif
Beuc
Peasant He/Him France
 
"Using PNGs to quicken the initial load from the memory disk isn't bad either"

I just spent the day trying to convert all dir.ff-BMPs to dir.ff-PNGs.
Conclusion: sadly it doesn't speed up the startup, it's even worse. Apparently decompressing the PNG is actually longer than loading a larger, raw BMP

Sample stats for splash.bmp:
splash.bmp: 302K
splash.png: 137K
fread(splash.bmp): 428ms
fread(splash.png): 189ms
IMG_Load(splash.bmp): 269ms
IMG_Load(splash.png): 327ms (!)

I feel like I'm hitting a wall with PSP optimization - it looks like only a special PSP version would be really efficient, not just a port, and I'm not interested in doing that :/