Are unused javascript files compiled in titanium SDK? -


in titanium project, when have unused javascript files (i mean js not required/included anywhere), them compiled or executed in final app executable? produce resource consumption (memory, cpu) have files?

thank you

these files not compiled (javascript interpreted language, i'm not sure meant compiled?) nor executed unless explicitly make so, included in resource bundle.

since titanium not have way of knowing files using, assumes in resources bundle needed. however, *.js extension base64'd , cuts down on size.

if these files unused, have 0 detectable impact on system memory or cpu cycles.

the impact have on application size, need have large javascript file, upwards of millions of lines, before became noticeable.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -