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

Issue 2998363002: Generalize LRU Cache to any objects. (Closed)

Created:
3 years, 4 months ago by scheglov
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Generalize LRU Cache to any objects. It turned out that caching just bytes does not allow us to realize full benefits of caching PackageBundle(s). We want to keep partially decoded values like sub-objects and strings for maximum performance. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/6d5a29004cc44db2f79a4d6e34769bd510e69c16

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -134 lines) Patch
M pkg/front_end/lib/src/byte_store/byte_store.dart View 2 chunks +3 lines, -52 lines 0 comments Download
A pkg/front_end/lib/src/byte_store/cache.dart View 1 chunk +58 lines, -0 lines 0 comments Download
M pkg/front_end/test/src/byte_store/byte_store_test.dart View 2 chunks +0 lines, -82 lines 0 comments Download
A pkg/front_end/test/src/byte_store/cache_test.dart View 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
3 years, 4 months ago (2017-08-24 17:52:51 UTC) #1
Brian Wilkerson
lgtm
3 years, 4 months ago (2017-08-24 18:01:54 UTC) #2
scheglov
3 years, 4 months ago (2017-08-24 18:07:13 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
6d5a29004cc44db2f79a4d6e34769bd510e69c16 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698