Nguyễn Thái Ngọc Duy  <pclo...@gmail.com> writes:

> -             p->item->util = &weights[n++];
> +             *commit_weight_at(&commit_weight, p->item) = &weights[n++];

Interesting to see that this cleverness was inherited from the
original code that used the util field :-).  I was wondering why
the code was using "int*" without on-demand allocation.

Reply via email to