Re:A Million Lines of Bad Code
by eduadecastro on Saturday April 18, 2015 @06:29AM
(#9398917)
Shouldn't the compiler recognize this as an append instead of copying every time?
[ Parent
| on HN ]
Re:A Million Lines of Bad Code
by TheLoneWolfling on Saturday April 18, 2015 @08:56AM
(#9399278)
It should. But the Java compiler punts everything to runtime, and the JVM doesn't optimize it either.