diff options
author | Jorge Boncompte [DTI2] <jorge@dti2.net> | 2012-05-07 16:52:55 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2012-05-22 20:25:44 +0200 |
commit | c76275ee960c708408646d8a680b201b27cb9c1a (patch) | |
tree | 59daf9a650950d35aa5350270118cd94e4a1fde3 /tests/heavy-thread.c | |
parent | 6d85b15bbb2fd3c263d5d4b402c88ff348af877b (diff) |
bgpd: optimize loops on [e]community_hash_make()
This change reduces loop count. Less jumps.
* bgp_community.c: One loop per community.
* bgp_ecommunity.c: One loop per ecommunity.
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/heavy-thread.c')
0 files changed, 0 insertions, 0 deletions