# Spatial pooler local inhibition in htm.core

**URL:** <https://discourse.numenta.org/t/spatial-pooler-local-inhibition-in-htm-core/7130>\
**Category:** NuPIC Community Fork\
**Created:** [January 31, 2020, 9:43pm UTC](https://discourse.numenta.org/t/spatial-pooler-local-inhibition-in-htm-core/7130 "2020-01-31T21:43:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kineyev](https://avatars.discourse-cdn.com/v4/letter/k/ea666f/32.png) [@kineyev](https://discourse.numenta.org/u/kineyev)\
**Post date:** [January 31, 2020, 9:43pm UTC](https://discourse.numenta.org/t/spatial-pooler-local-inhibition-in-htm-core/7130/1 "2020-01-31T21:43:23Z")

</div>

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

–

---

<div class="post-metadata">

**Author:** ![dmac](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/dmac/32/5842_2.png) [@dmac](https://discourse.numenta.org/u/dmac)\
**Post date:** [February 4, 2020, 7:22pm UTC](https://discourse.numenta.org/t/spatial-pooler-local-inhibition-in-htm-core/7130/2 "2020-02-04T19:22:45Z")

</div>

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](https://github.com/htm-community/htm.core)

Thanks
