Y
Hacker News
new
|
ask
|
show
|
jobs
by
eduadecastro
4083 days ago
Shouldn't the compiler recognize this as an append instead of copying every time?
1 comments
TheLoneWolfling
4083 days ago
It should. But the Java compiler punts everything to runtime, and the JVM doesn't optimize it either.
link