Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Balance between memory allocation and io connection?

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a game, it requireds reading data that stored in 'disk' (phone's storage), it's about 30kb, and the program use data frequently, so i can either read all data into memory or read single item from storage when using it(slow), so which way do you prefer, the fast but more memory use or the less memory use but slow?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic