Random06457 / Z64Utils

WIP tool to parse and view various files and structures in Zelda 64 ROMs.
MIT License
17 stars 8 forks source link

Fix #49 slow ROM loading #55

Closed Dragorn421 closed 3 years ago

Dragorn421 commented 3 years ago

On my computer, currently GetFs takes 5-6 seconds to execute. This is mostly time spent using the UI callback for some reason.

By getting rid of using the UI callback entirely, the execution time of GetFs goes down to 80-100 milliseconds.

I went with a middle approach by using the callback either every 100 milliseconds or every 10% files processed (whichever comes first). This makes GetFs execute in around 150 milliseconds.

Fixes #49