hnn-core icon indicating copy to clipboard operation
hnn-core copied to clipboard

pre-allocate arrays for storing continuous simulation data in network_builder.py

Open rythorpe opened this issue 2 years ago • 0 comments

As #684 has demonstrated, it usually takes running a whole (really big) simulation before maxing out the memory capabilities on one's system. We could probably improve performance as well as debugging by pre-allocating data arrays in NetworkBuilder.aggregate_data(). Changing this might also help to pre-allocate certain h.Vector instantiations.

rythorpe avatar Nov 02 '23 21:11 rythorpe