0 votes

I need to read large about of data and currently i am doing that from .txt file and then parsing text string to JSON dictionary, the problem is that i want to make this in the most optimized way for ram. I suppose that after parsing string to json godot is storing result in ram memory and i would like that data can be read directly from script that is from hard-drive memory.
So my question is what is the best way to achieve this supposing that i didn't say something stupid earlier?

asked Jul 9, 2018 in Engine by Jackal (15 points)

1 Answer

+1 vote
Best answer

Just add it to your project.

Godot Resource loader only loads it once and saves the reference.

When you call load again, it will reference the last save.

answered Jul 19, 2018 by hungrymonkey (419 points)
selected Aug 6, 2018 by Jackal
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.