mirror of
https://github.com/golang/go
synced 2024-10-04 14:41:25 -06:00
40d7d5a656
benchmark old ns/op new ns/op delta BenchmarkSelectUncontended 220 165 -25.00% BenchmarkSelectContended 209 161 -22.97% BenchmarkSelectProdCons 1042 904 -13.24% But more importantly this change will allow to get rid of free function in runtime. Fixes #6494. LGTM=rsc, khr R=golang-codereviews, rsc, dominik.honnef, khr CC=golang-codereviews, remyoudompheng https://golang.org/cl/107670043
18 lines
354 B
C
18 lines
354 B
C
// Copyright 2011 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
enum {
|
|
thechar = '5',
|
|
BigEndian = 0,
|
|
CacheLineSize = 32,
|
|
RuntimeGogoBytes = 84,
|
|
#ifdef GOOS_nacl
|
|
PhysPageSize = 65536,
|
|
#else
|
|
PhysPageSize = 4096,
|
|
#endif
|
|
PCQuantum = 4,
|
|
Int64Align = 4
|
|
};
|