Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Issue 20119002: Make LibraryMirror.members an internal native and lazy. (Closed)

Created:
7 years, 4 months ago by rmacnak
Modified:
7 years, 4 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, ahe, Michael Lippautz (Google)
Visibility:
Public.

Description

Make LibraryMirror.members an internal native and lazy. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=25451

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -154 lines) Patch
M runtime/lib/mirrors.cc View 1 2 6 chunks +46 lines, -149 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 chunks +13 lines, -4 lines 2 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
rmacnak
Improves currentMirrorSystem() from ~140 to ~30 ms.
7 years, 4 months ago (2013-07-24 20:29:04 UTC) #1
siva
https://codereview.chromium.org/20119002/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/20119002/diff/1/runtime/lib/mirrors.cc#newcode1171 runtime/lib/mirrors.cc:1171: Function& func = Function::Handle(); You don't need these 3 ...
7 years, 4 months ago (2013-07-24 22:41:34 UTC) #2
rmacnak
https://codereview.chromium.org/20119002/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/20119002/diff/1/runtime/lib/mirrors.cc#newcode1182 runtime/lib/mirrors.cc:1182: klass ^= entry.raw(); On 2013/07/24 22:41:35, siva wrote: > ...
7 years, 4 months ago (2013-07-24 22:51:43 UTC) #3
siva
lgtm
7 years, 4 months ago (2013-07-24 22:59:45 UTC) #4
rmacnak
Committed patchset #3 manually as r25451 (presubmit successful).
7 years, 4 months ago (2013-07-24 23:51:19 UTC) #5
ahe
DBC https://codereview.chromium.org/20119002/diff/12001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/20119002/diff/12001/runtime/lib/mirrors_impl.dart#newcode828 runtime/lib/mirrors_impl.dart:828: return _members; You need to return something that ...
7 years, 4 months ago (2013-07-25 08:27:19 UTC) #6
rmacnak
7 years, 4 months ago (2013-07-25 16:31:09 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/20119002/diff/12001/runtime/lib/mirrors_impl....
File runtime/lib/mirrors_impl.dart (right):

https://codereview.chromium.org/20119002/diff/12001/runtime/lib/mirrors_impl....
runtime/lib/mirrors_impl.dart:828: return _members;
On 2013/07/25 08:27:19, ahe wrote:
> You need to return something that is immutable.
> 
> _makeMemberMap creates a mutable map.
> 
> But don't sweat it, we're planning to use lists instead of maps.  It is easier
> to create an immutable list.

Yeah, we're holding the status quo here.

Powered by Google App Engine
This is Rietveld 408576698