|
|
Changes to shrink the token stream representation from two words to one word.
On standalone dartium which has about 50000 tokens in the libraries (core, coreimpl, builtin, io etc.) this reduces the heap size by about 180kb. The size of the standalone snapshot buffer reduces by about 72kb.
Also moved the keyword symbol table to the object store so that it does not have to repopulated on every script compilation. Should benefit regular user script load times.
Committed: https://code.google.com/p/dart/source/detail?r=4734
Total comments: 13
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+318 lines, -44 lines) |
Patch |
 |
M |
vm/compiler_stats.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/compiler_stats.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
vm/dart.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/object.h
|
View
|
1
2
3
4
5
|
7 chunks |
+46 lines, -15 lines |
0 comments
|
Download
|
 |
M |
vm/object.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+106 lines, -4 lines |
0 comments
|
Download
|
 |
M |
vm/object_store.h
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
vm/object_store.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/parser.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/parser.cc
|
View
|
1
2
3
4
|
3 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
vm/raw_object.h
|
View
|
1
2
3
4
5
|
4 chunks |
+20 lines, -8 lines |
0 comments
|
Download
|
 |
M |
vm/raw_object.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/raw_object_snapshot.cc
|
View
|
1
2
3
4
|
2 chunks |
+50 lines, -3 lines |
0 comments
|
Download
|
 |
M |
vm/scanner.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/scanner.cc
|
View
|
1
2
3
4
|
4 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
vm/snapshot.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/snapshot.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/token.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|