mirror of
https://github.com/golang/go
synced 2024-11-19 01:14:39 -07:00
0656da910a
This code made sense before fmt switched to using sync.Pool, but a sync.Pool clears all items on GC, so not reusing something based on size is just a waste of memory. Change-Id: I201312b0ee6c572ff3c0ffaf71e42623a160d23f Reviewed-on: https://go-review.googlesource.com/21480 Reviewed-by: Rob Pike <r@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
doc.go | ||
export_test.go | ||
fmt_test.go | ||
format.go | ||
print.go | ||
scan_test.go | ||
scan.go | ||
stringer_test.go |