Open ajusa opened 3 years ago
After profiling script load, found that the ascii
function was the main culprit. Rewrote it to be much faster and now script loads are acceptably fast. After profiling audio seems like all of the time is spent in LovePotion calls, not sure why it seems to be slow.
After doing some more digging around and asking the folks on the LovePotion Discord, it seems that the filesystem itself might be the bottleneck when it comes to indexing to a certain file among thousands in a directory. Options are
ZIP support was added to VNDSx precisely for loading time reasons. That's why it only supports uncompressed ZIP files.
Describe the bug 3DS currently has multiple issues with performance, particularly on IO heavy loads.
To Reproduce Steps to reproduce the behavior: Play a novel with sound on.
Try profiling both the script load function and just the audio loads to avoid having the profiler mess up the main event loop.