Hacker News new | ask | show | jobs
by shlomib 4506 days ago
One thing, If you take a look at line 53 in my original code: https://gist.github.com/shlomibabluki/5473521#file-summary_t...

You can change the code to run only -> for j in range(0, i)

* (instead of range(0, n))

and then store the same score both in values[i][j] and values[j[i]

1 comments

Thanks for your original work! It was perfect to learn from, so thanks again!

I'll look at implementing your changes shortly, perhaps after a rewrite to circumvent the blocking behaviour experienced with the callbacks.