You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if IDMixin is not assignend its Population as parent this scaling is not observed
As Population.id_to_index()'s implementation does not use numpy.where() it also does not scale with number of cell parameters
The text was updated successfully, but these errors were encountered:
* In the previous implementation, the recorded neuron was searched
for twice. We now search once – and only if we actually want to
record.
* Comparing cell_ids as integers is faster than using the ID Mixin
in upstream pyNN.
(see NeuralEnsemble/PyNN#693)
Change-Id: Ife482d0a2bdd0e241b2cdc037ef40bde51821037
PopulationTest.test_scaling_cellparams_id_to_index
from #691 shows thatPopulationView.id_to_index()
scales > n^2.relevant line a58cc51#diff-fb732f5879c60a0dc39fffe1a1bb8fbc45c3299c0197baec8e942cf69b871df5R110
The line of code where most time is spent is
PyNN/pyNN/common/populations.py
Line 881 in f740854
if IDMixin is not assignend its Population as parent this scaling is not observed
As
Population.id_to_index()
's implementation does not usenumpy.where()
it also does not scale with number of cell parametersThe text was updated successfully, but these errors were encountered: