Skip to content

Commit 8a724cb

Browse files
committed
Remove dead code in tight scheduling loop
1 parent 5071324 commit 8a724cb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

rt/src/Scheduler.mts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -258,16 +258,6 @@ export class Scheduler implements SchedulerInterface {
258258
dest = _curThread.next;
259259
let ttl = 1000; // magic constant; 2021-04-29
260260
while (dest && ttl--) {
261-
// 2021-04-24; AA; TODO: profile the addition of this conditional in this tight loop
262-
// if (showStack) {
263-
// this.__currentThread.showStack()
264-
// }
265-
// console.log (">>>>>>>>>>")
266-
// console.log (dest.toString())
267-
// console.log ("<<<<<<<<<<")
268-
// if (dest.debugname ) {
269-
// console.log (" -- ", dest.debugname)
270-
// }
271261
dest = dest();
272262
}
273263

0 commit comments

Comments
 (0)