I've been reading about performance tips on the Android Developers site, and one of the recommendations is to use static final for constants. The example illustrates the use of static final for an int and a string declarations. The explanation is clear on why static final is faster when declaring an int. However, for the string example it merely states that code which refers to this string will use the "relatively inexpensive string constant instruction".
I tried to look up how this instruction is performed at runtime and why it is less expensive, but couldn't find anything. Can anyone elaborate on the string constant operation?