You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Trying to load from a zip file, after PhysFS support is fixed on 3DS
Having a 3DS converter that hashes filenames into a folder in an attempt to split up thousands of files into hundreds per directory
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.
The text was updated successfully, but these errors were encountered: