Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Begone t1737... | Hubert Plociniczak | 2011-11-02 | 1 | -1/+1 |
| | |||||
* | Optimization to string concatenation. | Paul Phillips | 2011-01-15 | 1 | -0/+15 |
with a primitive CONCAT and several opcodes, I'm assuming nobody will oppose this on principle. Given an expression of the exact form "" + x (that is, the NPE-immune and much less ugly way to call .toString) we used to get 4x the bytecode and create an unneeded StringBuilder. Now this: 0: aload_1 1: invokestatic #20; //Method java/lang/String.valueOf:(Ljava/lang/Object;)Ljava/lang/String; 4: areturn Closes #4160, review by dragos. |