goplus/igop

$GOROOT/test/slicecap.go

Closed this issue · 1 comments

x := "hello"
checkString("x", x)
checkString("x[5:]", x[5:])

optimization string
x[len(x):] == x[0:0]