Remove temporary debug logs.
This commit is contained in:
@@ -162,19 +162,13 @@ namespace Cryville.Crtr {
|
|||||||
PropSrc.Arbitrary fv, tv = _etor.ContextCascadeLookup(_var_value);
|
PropSrc.Arbitrary fv, tv = _etor.ContextCascadeLookup(_var_value);
|
||||||
if (!_vecs.TryGetValue(pid, out fv)) fv = new PropSrc.Arbitrary(PdtInternalType.Null, _nullvalue);
|
if (!_vecs.TryGetValue(pid, out fv)) fv = new PropSrc.Arbitrary(PdtInternalType.Null, _nullvalue);
|
||||||
if (fv.Type != PdtInternalType.Null || tv.Type != PdtInternalType.Null) {
|
if (fv.Type != PdtInternalType.Null || tv.Type != PdtInternalType.Null) {
|
||||||
if (fv.Type == PdtInternalType.Null) {
|
if (fv.Type == PdtInternalType.Null) _activeCounts[id.Source]++;
|
||||||
_activeCounts[id.Source]++;
|
|
||||||
Logger.Log("main", 0, "Input/Proxy", "active {0} # {1} (+)", id.Source, _activeCounts[id.Source]);
|
|
||||||
}
|
|
||||||
_etor.ContextCascadeInsert();
|
_etor.ContextCascadeInsert();
|
||||||
_etor.ContextCascadeUpdate(_var_fv, fv);
|
_etor.ContextCascadeUpdate(_var_fv, fv);
|
||||||
_etor.ContextCascadeUpdate(_var_tv, tv);
|
_etor.ContextCascadeUpdate(_var_tv, tv);
|
||||||
_judge.Feed(target, ft, tt);
|
_judge.Feed(target, ft, tt);
|
||||||
_etor.ContextCascadeDiscard();
|
_etor.ContextCascadeDiscard();
|
||||||
if (tv.Type == PdtInternalType.Null) {
|
if (tv.Type == PdtInternalType.Null) _activeCounts[id.Source]--;
|
||||||
_activeCounts[id.Source]--;
|
|
||||||
Logger.Log("main", 0, "Input/Proxy", "active {0} # {1} (-)", id.Source, _activeCounts[id.Source]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
_judge.Cleanup(target, ft, tt);
|
_judge.Cleanup(target, ft, tt);
|
||||||
_vecs[pid] = tv;
|
_vecs[pid] = tv;
|
||||||
|
@@ -71,7 +71,6 @@ namespace Cryville.Crtr {
|
|||||||
JudgeEvent ev = actlist[i];
|
JudgeEvent ev = actlist[i];
|
||||||
if (tt > ev.EndTime) {
|
if (tt > ev.EndTime) {
|
||||||
actlist.RemoveAt(i);
|
actlist.RemoveAt(i);
|
||||||
Logger.Log("main", 0, "Judge", "miss {0}", target);
|
|
||||||
// TODO miss ev
|
// TODO miss ev
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -85,7 +84,6 @@ namespace Cryville.Crtr {
|
|||||||
var index = actlist.BinarySearch(ev, _etcmp);
|
var index = actlist.BinarySearch(ev, _etcmp);
|
||||||
if (index < 0) index = ~index;
|
if (index < 0) index = ~index;
|
||||||
actlist.Insert(index, ev);
|
actlist.Insert(index, ev);
|
||||||
Logger.Log("main", 0, "Judge", "active {0}", target);
|
|
||||||
// TODO priority?
|
// TODO priority?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user