Hacker News new | ask | show | jobs
by magnetikonline 4475 days ago
Yeah, as I note in the docs it's pretty Trival and a quick 10 minute hack around :) Don't take it all too serious. But the last point about .NET and StringBuilder() used to hang around in my head during the dark days of my early ASP.NET development.

Not sure about the file reads, defeating string interning seemed to be the point that helped show any really difference. Quite an interesting/cool topic that.

1 comments

Unless PHP has truly awful string concatenation performance, your microbenchmark will spend almost all of its time generating pseudorandom numbers, and a tiny fraction of its time moving bytes around to concatenate strings.