I have no clue.  A long time ago I had a bug where I was supposed to  
coalesce all the $once functions into a single function for  
efficiency.  This turned out to not be possible because it broke a  
bunch of things that depended on the evaluations happening  
independently.

On 2006-09-04, at 14:06 EDT, Adam Wolff wrote:

> Really, if we were serious about wanting to reevalute style  
> expressions,
> we'd probably want separate functions for each element in the  
> $style map,
> don't you think?
>
> A
>
> On Sep 4, 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.
>>
>> jim


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

Reply via email to