From MethodProperties to Pragmas

Marcus Denker denker at iam.unibe.ch
Sat Jan 21 20:54:29 UTC 2006


Hi,

I did a 3.9a6719 with the changeset and the tests added.

On 21.01.2006, at 15:05, Lukas Renggli wrote:

> Hi Marcus,
>
> attached you find the files to make both of us happy, hopefully ;-)
>
> Some changes I did to your property code:
>
> - moved #properties and #properties: to the private method-category,
> they should not be called directly to avoid unnecessary allocations.
> - removed MethodProperties and replaced with an IdentityDictionary to
> avoid another indirection.
> - #propertyAt:, #propertyRemove: now throw an exception if the element
> is not available to conform to Squeak standards.
> - if the properties become empty because of #propertyRemove:, the
> dictionary is removed and replaced with nil.
> - added nice comments to all the new methods.
>
> Not much changes were necessary for the Pragmas, they are only
> slightly slower than before. Else my old comments (to the parser)
> still apply.
>



More information about the V3dot9 mailing list