]> Cypherpunks repositories - gostls13.git/commit
container/ring: Replace Iter() with Do().
authorKyle Consalus <consalus@gmail.com>
Wed, 9 Feb 2011 04:07:05 +0000 (20:07 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 9 Feb 2011 04:07:05 +0000 (20:07 -0800)
commit3629d723288755f45e94c4c9fea1a92893455d0a
tree7abeb2b450dc8a577a57ef287665671bc2dbabec
parent5e83d40904f35fab8a0e302833ee1fb7ad104cfd
container/ring: Replace Iter() with Do().

Faster in most cases, and not prone to memory leaks. Named "Do" to match with similarly named method on Vector.

R=gri
CC=golang-dev
https://golang.org/cl/4134046
src/pkg/container/ring/ring.go
src/pkg/container/ring/ring_test.go