Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(732)

Issue 54750043: Incorporate improvements from https://github.com/drses/weak-map/pull/3/files (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by MarkM
Modified:
12 years, 1 month ago
Reviewers:
Mark S. Miller, kpreid2
CC:
Kris Kowal, google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, indexed by a per-map unique index. I kept the old defProp that explicitly enumerates the writable, enumerable, configurable attributes that should default to false anyway, out of general paranoia about remaining undiagnosed bugs in Object.defineProperty.

Patch Set 1 #

Patch Set 2 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Total comments: 8

Patch Set 3 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Patch Set 4 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Patch Set 5 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Patch Set 6 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Patch Set 7 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Patch Set 8 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Total comments: 10

Patch Set 9 : Incorporate improvements from https://github.com/drses/weak-map/pull/3/files #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -61 lines) Patch
M src/com/google/caja/ses/WeakMap.js View 1 2 3 4 5 6 7 8 8 chunks +97 lines, -61 lines 2 comments Download
M tests/com/google/caja/ses/test-ses-parts.js View 1 2 3 4 5 6 7 8 2 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 17
MarkM
12 years, 1 month ago (2014-01-21 00:50:23 UTC) #1
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-21 00:50:37 UTC) #2
kpreid2
https://codereview.appspot.com/54750043/diff/20001/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/54750043/diff/20001/src/com/google/caja/ses/WeakMap.js#newcode313 src/com/google/caja/ses/WeakMap.js:313: var hiddenRecord = Object.create(null); Note that Object.create(null) is not ...
12 years, 1 month ago (2014-01-21 18:13:14 UTC) #3
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-24 05:22:59 UTC) #4
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-24 05:23:24 UTC) #5
MarkM
https://codereview.appspot.com/54750043/diff/20001/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/54750043/diff/20001/src/com/google/caja/ses/WeakMap.js#newcode313 src/com/google/caja/ses/WeakMap.js:313: var hiddenRecord = Object.create(null); On 2014/01/21 18:13:15, kpreid2 wrote: ...
12 years, 1 month ago (2014-01-24 05:24:07 UTC) #6
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-24 05:33:46 UTC) #7
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-24 19:26:11 UTC) #8
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-24 22:26:36 UTC) #9
MarkM
Ready https://codereview.appspot.com/54750043/diff/20001/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/54750043/diff/20001/src/com/google/caja/ses/WeakMap.js#newcode426 src/com/google/caja/ses/WeakMap.js:426: function delete___(key) { On 2014/01/21 18:13:15, kpreid2 wrote: ...
12 years, 1 month ago (2014-01-24 22:28:03 UTC) #10
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-24 22:31:26 UTC) #11
kpreid2
LGTM https://codereview.appspot.com/54750043/diff/130003/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/54750043/diff/130003/src/com/google/caja/ses/WeakMap.js#newcode445 src/com/google/caja/ses/WeakMap.js:445: keys.push(key); If I were feeling especially paranoid (considering ...
12 years, 1 month ago (2014-01-24 23:00:30 UTC) #12
MarkM
At https://github.com/drses/weak-map/pull/3/files Kris Kowal sped up WeakMaps by using the hiddenRecord directly as the array-like, ...
12 years, 1 month ago (2014-01-25 04:01:42 UTC) #13
MarkM
https://codereview.appspot.com/54750043/diff/130003/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/54750043/diff/130003/src/com/google/caja/ses/WeakMap.js#newcode445 src/com/google/caja/ses/WeakMap.js:445: keys.push(key); On 2014/01/24 23:00:30, kpreid2 wrote: > If I ...
12 years, 1 month ago (2014-01-25 04:02:20 UTC) #14
kpreid2
https://codereview.appspot.com/54750043/diff/150001/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/54750043/diff/150001/src/com/google/caja/ses/WeakMap.js#newcode452 src/com/google/caja/ses/WeakMap.js:452: // If we crash here, values will be one ...
12 years, 1 month ago (2014-01-27 19:48:32 UTC) #15
Mark S. Miller
CL already submitted and closed per your LGTM. Do you want me to open a ...
12 years, 1 month ago (2014-01-27 20:44:02 UTC) #16
kpreid2
12 years, 1 month ago (2014-01-27 21:17:52 UTC) #17
Message was sent while issue was closed.
On 2014/01/27 20:44:02, Mark S. Miller wrote:
> CL already submitted and closed per your LGTM.

You said "Please have a look." in reply, so I had a look.

> Do you want me to open a fresh one?

I would rather you not have committed unreviewed code (note that your changes
were more than just "Done.", which is what I understand a LGTM-plus-comments to
permit), but given what's there now I see no things that really need changing.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b