GMS 2 variable_instance... VS ds_map

Hi guys,

Which is faster?
Functions variable_instance... or ds_map?

I did some small tests, but I'm still not sure ...
Last edited:


The instance variables are probably faster in most cases, but at the same time you lose the built-in indexing and searching that maps allow so ... they are completely different options that are suitable for different tasks. But in pure speed: well it depends on the size of the map. But I'm guessing instance variables are faster 99% of the time.