News for hackers. Stuff that matters.
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?
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.