~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/mempool/README.md

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
mempool
 
2
-------
 
3
 
 
4
This package implements a version of sync.Pool
 
5
as supported in Go versions 1.3 and later.
 
6
 
 
7
For Go versions prior to that, it uses an implementation
 
8
that never deletes any values from the pool.
 
9
 
 
10
If you don't need your code to compile on Go versions
 
11
prior to 1.3, don't use this package - use sync.Pool
 
12
instead.