Because tja2fumen is packaged using pyinstaller --onefile, the .exe has to temp every time it is run, which means it is very slow when calling it hundreds/thousands of times.
Additionally, since tja2fumen currently only converts one song at a time, we have to spin up a new Python process each time, too.
This could be trivially fixed in two ways:
Distributing tja2fumen as a directory rather than a single exe (may be complicated for users)
Allowing to pass a folder to tja2fumen then converting any TJAs/BINs within the folder (potentially dangerous as users may accidentally pass a folder with non-fumen .bin files)
Because
tja2fumen
is packaged usingpyinstaller --onefile
, the.exe
has totemp
every time it is run, which means it is very slow when calling it hundreds/thousands of times.Additionally, since
tja2fumen
currently only converts one song at a time, we have to spin up a new Python process each time, too.This could be trivially fixed in two ways:
tja2fumen
as a directory rather than a single exe (may be complicated for users)tja2fumen
then converting any TJAs/BINs within the folder (potentially dangerous as users may accidentally pass a folder with non-fumen .bin files)