Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1538] Android: Image File Detection From Assets is Slow

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:55:24.000+0000
Updated2011-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.

Comments

  1. Don Thorp 2011-04-15

    (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...

JSON Source