https://codereview.chromium.org/14779011/diff/1/src/object-observe.js
File src/object-observe.js (right):

https://codereview.chromium.org/14779011/diff/1/src/object-observe.js#newcode70
src/object-observe.js:70: performing: { __proto__: null },
this appears to be v8 style. leaving

On 2013/05/09 14:41:44, arv wrote:
Google3 JS style is {key: value} (no whitespace inside {}) but stick
to the v8
style.

https://codereview.chromium.org/14779011/diff/1/src/object-observe.js#newcode128
src/object-observe.js:128: from.splice(count, 1);
On 2013/05/09 14:41:44, arv wrote:
splice is O(n). Usually it is better to put some kind of sentinel in
the array
and then filter out the sentinels after the loop. That makes it O(n)
instead of
O(n^2).

Done.

https://codereview.chromium.org/14779011/

--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to