This commit is contained in:
Damian Gryski 2018-03-16 09:09:42 -07:00
parent 8d9c970bff
commit e2d745a3a4

View File

@ -849,7 +849,7 @@ allocate it. But you also pay every time the garbage collection runs.
* rand.Int() and friends are 1) mutex protected and 2) expensive to create * rand.Int() and friends are 1) mutex protected and 2) expensive to create
* consider alternate random number generation (go-pcgr, xorshift) * consider alternate random number generation (go-pcgr, xorshift)
* binary.Read and binary.Write use reflection and are slow; do it by hand. * binary.Read and binary.Write use reflection and are slow; do it by hand.
* use strconv insted of fmt if possible * use strconv instead of fmt if possible
* ... * ...
## Alternate implementations ## Alternate implementations