[TIMOB-1538] Android: Image File Detection From Assets is Slow
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:55:24.000+0000 |
Updated | 2011-04-17T01:56:27.000+0000 |
Description
AssetManager doesn't provide a way to detect if a file exists. So the initial implementation dealt with it as an exception when checking for a valid file. Introduce a lookup cache to reduce the number of exceptions.
(from [a4750fb89a30372ec38601af4e94a62754d375e6]) [#1538 state:fixed-in-qa] Change up the patch cache to fail and succeed faster http://github.com/appcelerator/titanium_mobile/commit/a4750fb89a30372ec38601af4e94a62754d375e6"> http://github.com/appcelerator/titanium_mobile/commit/a4750fb89a303...