]> Cypherpunks repositories - gostls13.git/commit
fmt: add ascii fast path for decoding verbs
authorMartin Möhrmann <moehrmann@google.com>
Fri, 10 Mar 2017 19:55:51 +0000 (20:55 +0100)
committerMartin Möhrmann <moehrmann@google.com>
Mon, 14 Aug 2017 12:25:45 +0000 (12:25 +0000)
commit629b5e7561ab10cb11b47e3818dd861f8a030a26
treeca25d0b7ad233ea3d50e449d6e942e727c65354d
parent6661cf6dfd91dc3dd5d233e8bdb9f2d60829c68e
fmt: add ascii fast path for decoding verbs

name                    old time/op  new time/op  delta
SprintfSlowParsingPath   108ns ± 4%   103ns ± 4%  -4.53%  (p=0.000 n=18+18)

Change-Id: I174463f303d1857e8d5b8a6283c025b3546e7b39
Reviewed-on: https://go-review.googlesource.com/44450
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/fmt/fmt_test.go
src/fmt/print.go