[dev](commented out)performance tweak, 1.2x gain

This commit is contained in:
BigEd 2010-10-06 19:48:30 +00:00
parent ee196947e3
commit 0773a9e7cf
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ function recalcNode(node, recalclist){
console.log('recalc', node, group);
for(var i in group){
var n = nodes[group[i]];
// if(n.state==newv) continue; // performance tweak: idea due to Michael Steil
if(n.state!=newv && ctrace && (traceTheseNodes.indexOf(n)!=-1))
console.log(group[i], n.state, newv);
n.state = newv;