Es-discuss - several decimal discussions

Mark S. Miller erights at
Sun Aug 24 19:57:25 PDT 2008

On Sun, Aug 24, 2008 at 7:44 PM, Brendan Eich <brendan at> 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?


More information about the Es-discuss mailing list