Add "N_incoming" and "N_outgoing" as variables to `Synapses`, storing the total number of incoming/outgoing synapses in the target/source group (useful for normalization purposes). Closes #58
Use the opportunity to make the old `synapse_creation` benchmark run with latest master
Fix mix of tabs and spaces in synapses_create.cpp template
Do not massively generate code strings for testing which will have to be all compiled individually when using weave. Should remove the recent massive slowdown of `test_synapses.py`. Also add tests for `N_incoming` and `N_outgoing` to `test_subgroups.py`.
Speed up synapse creation in numpy by only doing one bincount outside of the loop. Also move `_owner.resize` out of the loop.
Change the implementation of `N_incoming` and `N_outgoing` to properly work with subgroups.
Merge pull request #219 from brian-team/synapse_numbers

Synapse numbers accessible in abstract code