On Sunday, 9 February 2014 at 16:07:52 UTC, Marc Schütz wrote:
But the difference actual difference is so much larger. Where does it come from? It might mean that there is some costly operation that both `new` and `toString()` perform. Or it might actually be a bug, and when fixed, would have worse performance. It seems almost too good to be true...

They both allocate GC memory, which can cause a collection cycle. Could that be it?

Reply via email to