Just discovered that one of my programs after an update now used extremely long time to start up. This was the first time compiled with the new apk compiler version.
First just a white screen for a minute or so, then the bcpic is loaded and then a few more minutes before the main screen is fully loaded.
I had done quite a few changes in my code so I tried reverting piece by piece to find what new caused this slowdown.
Then I just stripped down the code to a minimum to test, but still it was dead slow.
Turns out it is the usage of GetDircectoryEntry that causes this.
I have 3 linked directories with containing 371 files, about 4.5MB in total.
Adding these files to Asset and using GetAsset instead the app loads in two seconds.
Just for debugging I did test to keep the directory links in my code (but still use GetAsset). Then the app start with a white screen for 30 seconds, then the bgpic and the rest of the main screen loads as normal.
Very slow GetDirectoryEntry
Re: Very slow GetDirectoryEntry
...unfortunately these crap these days should be
Debugged first by total disabling antivirus craps..
It has high probabilty...
Debugged first by total disabling antivirus craps..
It has high probabilty...
Christos