On 2014/05/08 13:38:04, rossberg wrote:

Off-hand this sounds plausible, although it looks like it would be duplicating machinery that ObjectHashTable already provides. Also, if possible, it would
be
great if we found a solution that would allow self-hosting the iterator
implementation.

Just throwing this out there... After we implemented the Map and its iterator I
had an idea of an alternative approach.

Instead of implementing things in C++, we introduce a single runtime function, %GetHashCode(Object). Then we use an InternalArray for the list and the table.
The logic would be identical.

This still does not solve the GC issues though but it would allow us to skip
writing Hydrogen code.


https://codereview.chromium.org/259883002/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to