1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 15:36:41 -05:00

Remove commented code

This commit is contained in:
V2Ray 2015-10-08 15:53:32 +02:00
parent 5b7fa17aa6
commit 472cf7f523

View File

@ -1,7 +1,6 @@
package alloc
import (
//"fmt"
"time"
)
@ -55,7 +54,6 @@ func newBufferPool(allocator func(*bufferPool) *Buffer, elements2Keep, size int)
}
func (p *bufferPool) allocate() *Buffer {
//fmt.Printf("Pool size: %d\n", len(p.chain))
var b *Buffer
select {
case b = <-p.chain:
@ -71,7 +69,6 @@ func (p *bufferPool) free(buffer *Buffer) {
case p.chain <- buffer:
default:
}
//fmt.Printf("Pool size: %d\n", len(p.chain))
}
func (p *bufferPool) cleanup(tick <-chan time.Time) {