]> Cypherpunks repositories - gostls13.git/commit
path/filepath: avoid allocation in Clean of cleaned path
authorRuss Cox <rsc@golang.org>
Wed, 27 Jun 2012 20:52:36 +0000 (16:52 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 27 Jun 2012 20:52:36 +0000 (16:52 -0400)
commit9525372e31f6bad979a5f472aecfc24af34f28d0
tree3d693efc78a26053dede004a634e6e2288c09cd0
parent5a5e698c8fceec38c34f86375dcd44fb1a7a8939
path/filepath: avoid allocation in Clean of cleaned path

Alternative to https://golang.org/cl/6330044.

Fixes #3681.

R=golang-dev, r, hanwen, iant
CC=golang-dev
https://golang.org/cl/6335056
src/pkg/path/filepath/path.go
src/pkg/path/filepath/path_test.go
src/pkg/path/path.go
src/pkg/path/path_test.go