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

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun May 1 20:17:00 UTC 2011


2011/5/1 Levente Uzonyi <leves at elte.hu>:
> 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
>

Oh, of course...

>> +       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