70b1661e10
Container/storage has been enhanced to speed up the compiling and loading of json files. This should make make cri-o a little bit faster. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
11 lines
188 B
Go
11 lines
188 B
Go
// +build !go1.3
|
|
|
|
package v1
|
|
|
|
// Stub version of buffer_pool.go for Go 1.2, which doesn't have sync.Pool.
|
|
|
|
func Pool(b []byte) {}
|
|
|
|
func makeSlice(n int) []byte {
|
|
return make([]byte, n)
|
|
}
|