D Daren463 Member Licensed User Longtime User Jul 8, 2021 #1 I am converting a board game into an android app and I’m not sure which is the most efficient use of memory. Should the game data be programmed into the app or in a data file? If a data file which format would be more efficient.
I am converting a board game into an android app and I’m not sure which is the most efficient use of memory. Should the game data be programmed into the app or in a data file? If a data file which format would be more efficient.
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2021 #2 It is not a matter of efficiency but rather of maintainability. Don't put data in your code. It will be ugly and difficult to update. There are many possible formats. There isn't enough information to say which one will work better. Upvote 0
It is not a matter of efficiency but rather of maintainability. Don't put data in your code. It will be ugly and difficult to update. There are many possible formats. There isn't enough information to say which one will work better.
D Daren463 Member Licensed User Longtime User Jul 10, 2021 #3 Thanks for answering. Looking up the best way to rephrase the question lead me to the answer. I had a misconception on how memory was utilized on Android devices. I was under the misconception that all memory was shaired between the cpu and storage. Upvote 0
Thanks for answering. Looking up the best way to rephrase the question lead me to the answer. I had a misconception on how memory was utilized on Android devices. I was under the misconception that all memory was shaired between the cpu and storage.