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

Issue 971833003: Optimize top-level element declarations search. (Closed)

Created:
5 years, 9 months ago by scheglov
Modified:
5 years, 9 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize top-level element declarations search. No limits on the number of returned matches yet. With this CL it takes about 20 ms for one-character regexp, vs. 200+ ms before. The Editor UI is still not quite fast, we need to set some limits there too. R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=44145

Patch Set 1 #

Total comments: 4

Patch Set 2 : Tweaks for review comments #

Messages

Total messages: 4 (0 generated)
scheglov
5 years, 9 months ago (2015-03-02 19:04:51 UTC) #1
Brian Wilkerson
LGTM! https://codereview.chromium.org/971833003/diff/1/pkg/analysis_server/lib/src/services/index/index_store.dart File pkg/analysis_server/lib/src/services/index/index_store.dart (right): https://codereview.chromium.org/971833003/diff/1/pkg/analysis_server/lib/src/services/index/index_store.dart#newcode89 pkg/analysis_server/lib/src/services/index/index_store.dart:89: List<Element> getTopDeclarations(ElementNameFilter nameFilter); "Top" --> "TopLevel"? I know ...
5 years, 9 months ago (2015-03-02 19:20:08 UTC) #2
scheglov
https://codereview.chromium.org/971833003/diff/1/pkg/analysis_server/lib/src/services/index/index_store.dart File pkg/analysis_server/lib/src/services/index/index_store.dart (right): https://codereview.chromium.org/971833003/diff/1/pkg/analysis_server/lib/src/services/index/index_store.dart#newcode89 pkg/analysis_server/lib/src/services/index/index_store.dart:89: List<Element> getTopDeclarations(ElementNameFilter nameFilter); On 2015/03/02 19:20:07, Brian Wilkerson wrote: ...
5 years, 9 months ago (2015-03-02 19:55:47 UTC) #3
scheglov
5 years, 9 months ago (2015-03-02 19:56:28 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 44145 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698