Please no StringBuilder API. If I wanted that, I could have made a career in Java
-
-
-
The idea is to do that transparently in the engine. No new APIs, just a less sucky engine.
- 4 more replies
New conversation -
-
-
I took it down already because it's silly nowadays, but I had a talk from 2012 where I benchmarked a lot of silly stuff and I even found a case where reversing the condition and putting work in else clause got better results. Engines do get better!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
A universal string builder API which you then call with an array of strings or with individual args or an object with options or .... :P
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
Wrote down some findings regarding string concatenation performance in JavaScript. Seems like this is still an area that could use some work.