Re:Node Summary – Naive summarization algorithm for Node.js
by jbrooksuk on Tuesday February 11, 2014 @03:47AM
(#7216581)
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.
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]