Descriptionruntime: do not zero terminate strings
On top of "tiny allocator" (cl/38750047), reduces number of allocs by 1% on json.
No code must rely on zero termination. So will also make debugging simpler,
by uncovering issues earlier.
json-1
allocated 7949686 7915766 -0.43%
allocs 93778 92790 -1.05%
time 100957795 97250949 -3.67%
rest of the metrics are too noisy.
Patch Set 1 #Patch Set 2 : diff -r fecb13086239 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r 5cbae677dac9 https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r 7d1281494058 https://dvyukov%40google.com@code.google.com/p/go/ #MessagesTotal messages: 11
|