On 2006-09-04, at 13:44 EDT, Jim Grandy wrote:

> On Sep 4, 2006, at 10:04 AM, P T Withington wrote:
>
>> On 2006-09-03, at 13:34 EDT, Adam Wolff wrote:
>>
>>>> We can make this more efficient by caching the style map on
>>>> classes in user
>>>> class.
>>
>> Thinking about this, we can't really cache this if we want to support
>> expressions, since the expressions need to be evaluated in the
>> instance environment.
>
> You can if you know they are constant strings. That might be an  
> important optimization for the common case.

Yup.  But remember Michael Jackson's rules of optimization:

Rule 1: Don’t do it.
Rule 2 (for experts only): Don’t do it yet.



_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to