]> git.ozlabs.org Git - ccan/commit
strgrp: Cache cosine popcounts to reduce computation
authorAndrew Jeffery <andrew@aj.id.au>
Sun, 15 Nov 2015 10:14:57 +0000 (20:44 +1030)
committerAndrew Jeffery <andrew@aj.id.au>
Sun, 15 Nov 2015 11:52:39 +0000 (22:22 +1030)
commit4a439212da1b6d88cc370e2a2ee3dbeb8e2081c5
tree2cfdb31b8a78fcd6aab12f365fda2fa4bbe6e760
parent3a6631812fbb49d11d72b8029898d93fc43c9aaa
strgrp: Cache cosine popcounts to reduce computation

Neatly, this reduces some of the OpenMP-related noise in the
implementation by removing the need for the include. The loop body of
grp_for() is also clearer as a result of the change; the changes to the
function interfaces motivated a re-think of the complexity here.
ccan/strgrp/strgrp.c