On Jun 28, 2006, at 1:33 PM, Adam Wolff wrote:

> On Jun 28, Max Carlson wrote:
> [snip]
>>> Hrm? It certainly does work. You can use any object as a key in
>>> JavaScript, no?
>>
>> My understanding is, the object will get coerced to a string since
>> object keys must be strings. This only works if the object being  
>> used as
>> a key has a toString() method that returns something unique per
>> instance.
> That's right.
>

Thinking about it a bit more, the only side-effect of my  
misunderstanding here would be fewer buckets (shared between multiple  
delegates) and the resulting longer search time.
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to