]> Cypherpunks repositories - gostls13.git/commit
exp/locale/collate: implementation of tailorings and table generation.
authorMarcel van Lohuizen <mpvl@golang.org>
Wed, 31 Oct 2012 13:28:44 +0000 (14:28 +0100)
committerMarcel van Lohuizen <mpvl@golang.org>
Wed, 31 Oct 2012 13:28:44 +0000 (14:28 +0100)
commitb8b329451ca9f98388213627b8790d9e7900b5a0
treebcfa7b8afd12b2297f965ae578078d26f5d43569
parent4c1a6f84f8d85ad809ef14a685e173b73abb4621
exp/locale/collate: implementation of tailorings and table generation.
Tailorings are represented by removing and reinserting entries from a linked list.
After all tailorings are done, missing weights are computed and verified.
This implementation assumes that entries that are used in expansions are not
reinserted at a later point.  This considerably simplifies the implementation.

R=r
CC=golang-dev
https://golang.org/cl/6739052
src/pkg/exp/locale/collate/build/builder.go
src/pkg/exp/locale/collate/build/order.go
src/pkg/exp/locale/collate/build/order_test.go
src/pkg/exp/locale/collate/tables.go