CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/05/27 03:14:33

Modified files:
        usr.sbin/bgpd  : bgpd.c bgpd.h config.c control.c parse.y 
                         printconf.c session.c session.h 

Log message:
Switch the peer TAILQ to a RB tree indexed by the peer id. This way
getpeerbyid() gets a lot quicker at finding the peer when many peers
are configured. In my test case the difference is around 20% runtime.
OK denis@

Reply via email to