I'm working in a 2d topdown survival game with a procedural generated world, my world is infinite(for now) so i generate my game using chunks and i'm saving this chunks in my save file, where each tile is an array like this: [tile_id(int), position(Vector2)].
The problem is that every time i save my file using store_var() my game freezes for a moment, so i want to know if there is a faster way to store an array inside a file.