Reviewers: rossberg,

Message:
The upside here is that looking up the observers for an object no longer
requires a hash lookup. The downside is that observed objects now have a
different map than non-observed ones. I'm interested in hearing what y'all think
about this tradeoff.

Description:
Use Symbols instead of WeakMaps to store data on observers and observed objects

This breaks support for Proxies, as they do not currently support symbols.


Please review this at https://codereview.chromium.org/12433016/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/flag-definitions.h
  M src/object-observe.js
  M src/objects.cc
  M src/runtime.h
  M src/runtime.cc
  M test/cctest/test-object-observe.cc
  M test/mjsunit/harmony/object-observe.js


--
--
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/groups/opt_out.


Reply via email to