• Dmitriy Vyukov's avatar
    runtime: do not zero terminate strings · 9fa9613e
    Dmitriy Vyukov authored
    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.
    
    LGTM=r
    R=golang-codereviews, r, bradfitz, iant
    CC=golang-codereviews
    https://golang.org/cl/40370061
    9fa9613e
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...