What's the fastest method to access files/folders with editor script?

I’m having issues with performance using editor scripts to manage files & folders?

The performance is just so slow (usually). I need a fast way across windows, linux, and MacOS.

Any tips/help would be greatly appreciated.

1 Like

Is it? Can you share more details?

I’m using regular io API operations and editor APIs like editor.create_directory().

Look at my file_helper.lua:

When creating Defold resource files, use editor.create_resources, especially multiple at once (e.g. like in my model_from_gltf)

As far as I see @Insality is doing the same:

So as simple as possible basic io operations, nothing fancy, and it works, at least on my machine, pretty well.

1 Like