Hacker News new | past | comments | ask | show | jobs | submit login

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-s...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: