1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:31:21 -06:00
go/src/pkg
Russ Cox 1a936ebcfa math/rand: speed up Float32, Float64
Actually, speed up Int31n and Int63n by avoiding retry loop.

benchmark           old ns/op    new ns/op    delta
BenchmarkFloat32           32           26  -19.45%
BenchmarkFloat64           46           23  -49.47%

Fixes #7267.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/69980047
2014-03-03 20:43:23 -05:00
..
archive archive/tar: support extended attributes 2014-02-13 20:08:30 +11:00
bufio bufio: in Reader.WriteTo, try to use target's ReaderFrom 2014-02-27 10:48:36 -08:00
builtin builtin: document print and println 2013-07-09 16:20:19 -07:00
bytes bytes: add test for Contains 2013-12-28 20:33:05 +11:00
compress compress/bzip2: support superfluous Huffman levels. 2014-02-14 17:17:19 -05:00
container container/list: mark must be an element of the list 2014-02-13 16:43:52 -08:00
crypto crypto/tls: split connErr to avoid read/write races. 2014-03-03 09:01:44 -05:00
database/sql database/sql: fix test on 32-bit 2014-01-10 12:30:23 -08:00
debug debug/macho: Define CPU constants for other common architectures for OS X/iOS. 2014-02-27 19:11:03 -08:00
encoding crypto/x509: Add certificate signature request (CSR) support. 2014-02-13 12:54:04 -05:00
errors
expvar expvar: sort maps, fix race 2014-01-20 09:59:23 -08:00
flag flag: remove unused FlagSet.exitOnError field 2013-12-17 23:18:12 -05:00
fmt fmt: use RunParallel in benchmarks 2014-02-24 20:46:25 +04:00
go go/printer: measure lines/construct in generated output rather than incoming source 2014-02-27 11:35:53 -08:00
hash all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
html html: add tests for UnescapeString edge cases 2013-12-18 10:20:25 -08:00
image image/jpeg: return a FormatError when hitting an unexpected io.EOF 2014-02-28 15:18:35 +11:00
index/suffixarray
io io: clarify MultiReader documentation 2014-01-28 19:49:29 +11:00
log all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
math math/rand: speed up Float32, Float64 2014-03-03 20:43:23 -05:00
mime all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
net net: enable fast socket creation with close-on-exec flag on freebsd 2014-03-04 09:28:09 +09:00
os os: handle file creation with close-on-exec flag correctly on darwin, freebsd 2014-03-04 09:27:29 +09:00
path all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
reflect all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
regexp unicode: upgrade to Unicode 6.3.0 2014-02-18 20:12:59 +01:00
runtime runtime: update CBARGS macro for nacl/amd64p32 2014-03-04 10:36:04 +11:00
sort all: fix a few spelling errors in source comments 2013-12-27 08:59:02 -08:00
strconv strconv: add tests for FormatBool and AppendBool 2013-12-27 08:40:14 -08:00
strings bytes, strings: improve Title test coverage by adding cases with underscore and unicode line separator 2013-12-20 23:19:32 -08:00
sync sync/atomic: skip broken tests on freebsd/arm and netbsd/arm 2014-03-02 08:30:45 +11:00
syscall syscall: add Accept4 for freebsd 2014-03-04 09:27:48 +09:00
testing testing: fix bogus benchmark 2014-02-24 21:12:44 +04:00
text text/template: don't panic when function call evaluates a nil pointer 2014-02-14 16:26:47 -08:00
time all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
unicode unicode: upgrade to Unicode 6.3.0 2014-02-18 20:12:59 +01:00
unsafe