hnn-core
hnn-core copied to clipboard
pre-allocate arrays for storing continuous simulation data in network_builder.py
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.