djanloo / quilt

A multiscale neural simulator
MIT License
0 stars 0 forks source link

Binding of evolution function is called too many times #21

Open djanloo opened 1 month ago

djanloo commented 1 month ago

According to callgrind, binding the function in the Neuron::evolve() method takes a rough 23% of the execution time. I don't even know why I haven't noticed it yet. Anyway, it is fairly stupid to rebind the function every time. Screenshot from 2024-07-02 17-01-44