Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Side by Side Diff: src/pkg/container/vector/intvector.go

Issue 181041: code review 181041: Replace container/vector with exp/vector (faster). (Closed)
Patch Set: code review 181041: Replace container/vector with exp/vector (faster). Created 15 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/container/vector/defs.go ('k') | src/pkg/container/vector/intvector_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // CAUTION: If this file is not vector.go, it was generated 5 // CAUTION: If this file is not vector.go, it was generated
6 // automatically from vector.go - DO NOT EDIT in that case! 6 // automatically from vector.go - DO NOT EDIT in that case!
7 7
8 package vector 8 package vector
9 9
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 close(c) 206 close(c)
207 } 207 }
208 208
209 209
210 // Channel iterator for range. 210 // Channel iterator for range.
211 func (p *IntVector) Iter() <-chan int { 211 func (p *IntVector) Iter() <-chan int {
212 c := make(chan int) 212 c := make(chan int)
213 go p.iterate(c) 213 go p.iterate(c)
214 return c 214 return c
215 } 215 }
OLDNEW
« no previous file with comments | « src/pkg/container/vector/defs.go ('k') | src/pkg/container/vector/intvector_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b