Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
bstewartnyc
· 14y ago · 0 comments
# there is no 'balance', only this algorithm running my life while(True): task=getNextTask() if priority(task)>priority(current_task): backBurner.add(current_task) current_task=task startWorkOn(current_task) else: backBurner.add(task)
Comments
No comments yet.
Better HN