3 ms·
Did the same thing in a game I'm working on, although it's in the backend. Needed to store millions of routes that had a list of step objects. Reduced memory
by winrid 6y ago
Did the same thing in a game I'm working on, although it's in the backend.
Needed to store millions of routes that had a list of step objects.
Reduced memory usage by an order of magnitude by making the route a list of numbers, since you get rid of all the 8 byte pointers.
https://blog.winricklabs.com/(02-17-2020)---efficient-data-structures-for-mmo-game-backends-in-java.html https://blog.winricklabs.com/(02-17-2020)---efficient-data-s...