[SDL] Memory management

A.Cicak ovca at hotmail.com
Fri Mar 24 16:43:36 PST 2006


most often better is to use more smaller files
  "Brent Strandy" <brentstrandy at gmail.com> wrote in message news:919f58290603221408u386424ebwa0ef690e84622cbb at mail.gmail.com...
  When loading 24bit bitmap surfaces is it more efficient to load one giant (10MB+) file or smaller (<1MB) files and switching between them?  You would load all the smaller files before starting the game, but switch between them while the game is running.  Would the giant file take up too much system memory and slow the game down?  Or would the smaller files take too much time to switch between?  Thanks for your thoughts/help. 

  Brent


------------------------------------------------------------------------------


  _______________________________________________
  SDL mailing list
  SDL at libsdl.org
  http://www.libsdl.org/mailman/listinfo/sdl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060325/93aaf9a3/attachment.htm>


More information about the SDL mailing list