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

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Jan 18 18:34:54 UTC 2010


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?

Nicolas

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



More information about the Squeak-dev mailing list