Spatial pooler local inhibition in htm.core

I’ve picked some of the low hanging fruit in the local inhibition code of htm.core, and, using the dynamic_hotgym program as a benchmark (only benchmark I used), got a reduction in the local inhibition time reported by program (“SP (l)”) from ~136s to ~67s.

Diff in the link below

1 Like

It is much easier to comment on code changes on github.
Can you open a pull request with this change on github?
The URL is https://github.com/htm-community/htm.core

Thanks

2 Likes