to buffer or not to buffer Global High Scores?

Discussion in 'iOS Programming' started by IDMah, May 30, 2013.

  1. IDMah macrumors 6502


    May 13, 2011
    Hi all.

    Implementing a highscore system.
    Tis is better to Buffer a relativity small global Highscore table 100-200 entries. or just rely on the loading connected data from Gamecentre or Some alternative.

    Does GameCenter buffer the data for me? or can I buffer the data.

    What's best in your opinion?? and should I bother to create a background loader to execute the task when people are playing the game? or just wait till they finish?


    ps. Dragon Emperor's Challenge isn't processor intensive so lots of overhead for preload.
  2. ArtOfWarfare, May 30, 2013
    Last edited: May 31, 2013

    ArtOfWarfare macrumors G3


    Nov 26, 2007
    Premature optimization is a cardinal sin of programming. Do you have evidence that not buffering it results in slow performance? Hold off on implementing a buffer until you have evidence that it would actually solve something.
  3. IDMah thread starter macrumors 6502


    May 13, 2011
    Copy that ! So basically don't over think I problem you don't have!
    Good advice.


Share This Page