Files
sdk/runtime/lib
koda@google.com 1d7ca12fdc Compact LinkedHashMap/Set implementation.
Add GC-friendly replacement for default Map/Set:
* open-addressing hash table, avoiding the overhead of chained entries
* index separate from the keys/values, allowing more of it to fit in the cache
* new keys are always appended, to allow insertion-order iteration
* spare bits in index entries are used to store hashes
* index is typed data, so can be ignored by GC

Enable it with --use_compact_hash (disabled by default).

Reduces Dart2JS compilation time for huge codebase (N=200) by ~30%, due to reduced time in GC. Slightly slower for small maps and maps with deletions: json benchmarks regress by ~5%.

R=vegorov@google.com

Review URL: https://codereview.chromium.org//915323002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43840 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-18 13:58:32 +00:00
..
2014-09-09 21:47:44 +00:00
2015-02-17 19:32:32 +00:00
2014-09-09 21:47:44 +00:00
2014-09-09 21:47:44 +00:00
2014-01-24 22:00:04 +00:00
2015-01-29 18:31:27 +00:00
2014-09-09 21:47:44 +00:00
2014-08-19 21:15:39 +00:00
2015-02-12 10:37:40 +00:00
2013-09-25 13:52:15 +00:00