On Sun, Aug 24, 2008 at 7:44 PM, Brendan Eich <[EMAIL PROTECTED]> wrote:
> [...] But
> really, I'm wondering why it is important to have Object.eq if 1.0m ===
> 1.00m. Without Object.hashcode.
I would hope Harmony would either have some kind of identity hashcode
or some kind of built-in identity hashtable abstraction. Given a
function F that one knows is functional, it should be possible to
write memoize such that memoize(F) acts like F, trading space for
time. Without Object.eq or the equivalent, how does memoize tell
whether its got a cache hit or miss?
--
Cheers,
--MarkM
_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss