]> Cypherpunks repositories - gostls13.git/commit
index/suffixarray: revert change from int -> int32
authorRobert Griesemer <gri@golang.org>
Tue, 27 Sep 2011 23:21:28 +0000 (16:21 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 27 Sep 2011 23:21:28 +0000 (16:21 -0700)
commit71557713b0a7cf53c9c8a80986c89ae4036af74c
treeb077e327e7d8cdf3d75989bf997dc0ff228bf762
parent0287647b1377e3d403e8b38f5c2bd4435bc21b64
index/suffixarray: revert change from int -> int32

CL 5040041 (https://golang.org/cl/5040041)
changed the use of []int to []int32 internally so
that encoding/binary could be used. This is no
longer needed (gobs can encode ints), and using
[]int is more in sync w/ the semantics of the data
structure (the index elements are indices which are
ints). Changing it back.

R=r
CC=golang-dev
https://golang.org/cl/5141049
src/pkg/index/suffixarray/qsufsort.go
src/pkg/index/suffixarray/suffixarray.go