[squeak-dev] The Trunk: Collections-nice.441.mcz

Levente Uzonyi leves at elte.hu
Sun May 1 20:09:11 UTC 2011


On Sun, 1 May 2011, commits at source.squeak.org wrote:

> Nicolas Cellier uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-nice.441.mcz
>
> ==================== Summary ====================
>
> Name: Collections-nice.441
> Author: nice
> Time: 1 May 2011, 9:55:49.878 pm
> UUID: 2137bb66-b2ad-44f8-8414-5dce42a0b79e
> Ancestors: Collections-ul.440
>
> Remove the bitAnd: mask from leadingChar as it is mostly useless.
> Replace it with a comment.
>
> =============== Diff against Collections-ul.440 ===============
>
> Item was changed:
>  ----- Method: Character>>leadingChar (in category 'accessing') -----
>  leadingChar
> + 	"Answer the value of the 9 highest bits which is used to identify the language.

I guess it's just 8 bits, negative leadingChar is not allowed.


Levente

> + 	This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
> + 	^ value bitShift: -22!
> -
> - 	^ (value bitAnd: (16r3FC00000)) bitShift: -22.
> - !
>
>
>



More information about the Squeak-dev mailing list