On Fri, 2008-05-23 at 15:12 +0530, Srivatsa Vaddagiri wrote:
If you were to do that - yes that would get you into some very serious
The route I've chosen is to basically recompute it every time I need the
weight. So every time I use a weight, I do:
Not doing that will get you O(n) recomputes on all sorts of situations.