There is no reason to check the environment variable in every frame with every action. This leads to poor performance.
Activity
morevnaproject commentedon May 18, 2020
Good catch! ^__^
morevnaproject commentedon Jun 16, 2020
I have made a test: removed all "getenv" calls - morevnaproject@02473a5
Tested speed using
synfigplayeronpirates.sifand this file.Unfortunately, there is no performance difference.
ice0 commentedon Jun 16, 2020
@morevnaproject Perhaps you can see the difference when doing the editing.
morevnaproject commentedon Jun 18, 2020
...Also, I need to test it on Windows. ^__^
morevnaproject commentedon Jul 21, 2020
Tested on Windows with this file.
The sped win is only ~0.015 seconds.