I may have the attention span of a goldfish, but I can’t seem so understand how MemoryStorage works in terms of coding, I read through the whole api doc and I keep getting confused on what queues and hash maps are supposed to do. I don’t want to ask AI because I doubt it may provide accurate information, could someone dumb it down, even if it means skipping some other technical stuff?
its like an advanced version of DataStoreService to store data that you don’t want to save across sessions. you won’t need it unless you are shooting for a global game that has a large matchmaking system.
My bad I should have explained it better, I do know the general purpose of it, but I wish to know the concepts on how it works when it comes to scripting, like queues, hash maps, sorted maps, and such stuff, but I don’t want to necessarily know more deep technical stuff as I want a simple explanation on this.
queues are like a waiting line at a store. you use them if you want to process specific elements in a set order. it works on a first in first out basis.
hash maps are like finding a book in a library. use this if you need to find things in your store quickly.
sorted maps are a mix of both - sorting and finding.
personally i don’t use memorystorage, most of these definitions were personal conclusions so there may be some things wrong about each.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.