I was trying to find ways to improve the loading time of an application that I'm working on. It uses SDL to handle graphics and sound which brought up a question: which takes longer to load? If I want to load either graphics or sound into memory during the application start up, which would be the better choice? Doing both would be acceptable, but would only loading one element then lead to any performance increase?

Recommended Answers

All 2 Replies

try it, time it, and find out if it will make any noticeable difference.

Remember to stream for larger things, like music, instead of loading it completely.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.