unicode.collation: Fixes 40k+ unit tests, but is a change from Unicode 9.0 to 10.0
It looks like the fourth weights in the collation algorithm now generate fewer 0xffff, particularly when the secondary and tertiary slots are zero.modern-harvey2
parent
341f2c3307
commit
f7ddfb44b7
|
@ -131,7 +131,7 @@ ducet get-global insert-helpers
|
||||||
[ [ primary>> ] append-weights { 0 } ]
|
[ [ primary>> ] append-weights { 0 } ]
|
||||||
[ [ secondary>> ] append-weights { 0 } ]
|
[ [ secondary>> ] append-weights { 0 } ]
|
||||||
[ [ tertiary>> ] append-weights { 0 } ]
|
[ [ tertiary>> ] append-weights { 0 } ]
|
||||||
[ [ variable-weight ] map ]
|
[ [ [ secondary>> ] [ tertiary>> ] bi [ zero? ] bi@ and not ] filter [ variable-weight ] map ]
|
||||||
} cleave
|
} cleave
|
||||||
] { } append-outputs-as ;
|
] { } append-outputs-as ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue