ti-commonjs icon indicating copy to clipboard operation
ti-commonjs copied to clipboard

Use prepopulated array for filesystem checks

Open tonylukasavage opened this issue 10 years ago • 2 comments

This will make require() much faster since it won't have to use the Ti.Filesystem APIs which turn out to be extremely slow on Android (#22). The idea would be to find a way to use the same method as the encryptedFiles array for device builds, but find a way to do it for all builds.

tonylukasavage avatar Apr 04 '14 15:04 tonylukasavage

Do you mind pointing me in the right direction to find usages of encryptedFiles? I have been using a modified version of your library for almost a year now (and LOVE it!) on iOS and MobileWeb but have just now started using it on Android. I hit the performance wall on Android and need to find a solution or workaround for the issue. I have a few ideas but not sure they are the best way to tackle the problem. Thanks!!

brentonhouse avatar Mar 12 '15 15:03 brentonhouse

I see the encryptedFiles in this project and will start from there. For some reason, I was thinking it was a reference to something in the titanium_mobile or alloy projects.

brentonhouse avatar Mar 12 '15 15:03 brentonhouse