[squeak-dev] The Trunk: TrueType-nice.13.mcz

Igor Stasenko siguctua at gmail.com
Mon Jan 18 18:47:02 UTC 2010


2010/1/18 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
> 2010/1/18 Igor Stasenko <siguctua at gmail.com>:
>> 2010/1/18  <commits at source.squeak.org>:
>>> Nicolas Cellier uploaded a new version of TrueType to project The Trunk:
>>> http://source.squeak.org/trunk/TrueType-nice.13.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: TrueType-nice.13
>>> Author: nice
>>> Time: 18 January 2010, 6:18:47.592 pm
>>> UUID: 9c0ae3bf-8eee-434b-bb69-a4cf0bda202a
>>> Ancestors: TrueType-nice.12
>>>
>>> Use ByteArray literals
>>>
>>
>> Woohooo, ByteArray literals!!!
>>
>
> BTW, I see much code like:
>   'true' asByteArray
> Not that it costs that much CPU, but I'd like to make it a literal...
> However, I'd like to preserve the initializing code and semantics.
> This solution is not really satisfying:
>  "'true' asByteArray" #[116 114 117 101]
>
> Dolphinners would write some initializer like:
> ##( 'true' asByteArray )
>
> Travis Griggs would use a block and a tricky superpower in VW (can't
> find the blog right now).
>
> How do you see it?
>
Perhaps:
#['true']

the check that if first literal is string (not a number), then it
should be the only literal within []

> Nicolas
>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list