FAQ
*** Submitted as
http://code.google.com/p/go/source/detail?r=b1403cc90f4f ***

exp/locale/collate: slightly changed collation elements:
- Allow secondary values below the default value in second form. This is
to support before tags for secondary values, as used by Chinese.
- Eliminate collation elements that are guaranteed to be immaterial
after a weight increment.

R=r
CC=golang-dev
http://codereview.appspot.com/6739051



http://codereview.appspot.com/6739051/diff/6007/src/pkg/exp/locale/collate/build/colelem.go
File src/pkg/exp/locale/collate/build/colelem.go (right):

http://codereview.appspot.com/6739051/diff/6007/src/pkg/exp/locale/collate/build/colelem.go#newcode266
src/pkg/exp/locale/collate/build/colelem.go:266: next :=
append([][]int(nil), make([]int, len(elems[0])))
On 2012/10/22 19:10:11, r wrote:
isn't this just
next := [][]int{make([]int, len(elems[0]))}
Done.

http://codereview.appspot.com/6739051/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 25, '12 at 11:02a
activeOct 25, '12 at 11:02a
posts1
users1
websitegolang.org

1 user in discussion

Mpvl: 1 post

People

Translate

site design / logo © 2022 Grokbase