• Russ Cox's avatar
    test/bench: use range in reverse-complement · 864c6bcb
    Russ Cox authored
    1.9s	gcc reverse-complement.c
    
    reverse-complement.go
    4.5s / 3.5s	original, with/without bounds checks
    3.5s / 3.3s	bounds check reduction
    3.3s / 2.8s	smarter garbage collector
    2.6s / 2.3s	assembler bytes.IndexByte
    2.5s / 2.1s	even smarter garbage collector
    2.3s / 2.1s	fix optimizer unnecessary spill bug
    2.0s / 1.9s	change loop to range (this CL)
    
    R=r
    https://golang.org/cl/166072
    864c6bcb
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg 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...
README Loading commit data...
favicon.ico Loading commit data...