aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-09 22:38:53 -0400
committerAlon Zakai <alonzakai@gmail.com>2013-10-09 22:38:53 -0400
commitf577681a3c6bba87d9e2c51c4a701ee872eba50c (patch)
tree44591d01ab0d41b0fdd059f3de225918822c99d5 /src/compiler.js
parent9bc421ce5e4273498c929816d4565cc86b2d22c3 (diff)
avoid allocating common tokens repeatedly
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 2b7a218b..d490f454 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -316,3 +316,6 @@ if (ll_file) {
}
}
+//var M = keys(tokenCacheMisses).map(function(m) { return [m, misses[m]] }).sort(function(a, b) { return a[1] - b[1] });
+//printErr(dump(M.slice(M.length-10)));
+