android - More efficient to directly assign or pull from XML? -


i trying reduce gc overhead size.

i noticed have several of keys bundle directly assigned string @ start of code , uses assignment later. example:

string newtimekey = "newtimekey"; 

is better if store string in resource xml , call @ start of program this?

string newtimekey = getstring(r.string.newtimekey); 


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -