SpiNNakerManchester / sPyNNaker

The SpiNNaker implementation of the PyNN neural networking language
Apache License 2.0
105 stars 44 forks source link

Sets for speed #1466

Closed Christian-B closed 4 months ago

Christian-B commented 4 months ago

Alternative to https://github.com/SpiNNakerManchester/sPyNNaker/pull/1464

Keep the safety check but use sets.

This comes at the expense of none repeatable order.

The only place I found where this matters is in the data.ds

So fixed the order by used in the get method