Hacker News new | ask | show | jobs
by ajanuary 4434 days ago
One difference is that the first one, with a good implementation, will be more efficient because it doesn't need to allocate intermediate strings.

I don't think such a micro-optimisation is enough to sway the argument though.