commit | 4d06dbdaa62241ec06ba6df63434548fb09c0099 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Mon Mar 21 23:17:53 2016 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Mar 21 23:20:58 2016 +0000 |
tree | 4e0996d419f6c1ba6f8c5793c650bafe8ee61e7c | |
parent | 9d8ef8d73b53840886e4a772c72f2b7d396cb37c [diff] |
http2: reduce alloc-heavy init Moves test cases into the test where they're used, to remove distractions when profiling unrelated tests. Also this is my style preference, to remove globals and reduce the scope of variables. Change-Id: Ie9cd41b16aad9acf5e210f1fb6f19a7fce52180d Reviewed-on: https://go-review.googlesource.com/20996 Reviewed-by: Andrew Gerrand <adg@golang.org>