summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-05-05 11:10:20 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-08 14:35:38 -0400
commitc117e02796a8c1d32379b9eb2e7c444fdeeb60d6 (patch)
tree7aea4dfa37eef2066be52e9b10a8cac286bba4fa /lib/workqueue.c
parentc0d8db4d9eb556921ef1c40078c740596f1e139b (diff)
lib/cli: reduce strcmp in CLI hot paths
Er, no idea how anyone could ever have thought that it would be a good idea to have a zillion of strcmp() calls in the CLI's active paths, just to compare against things like "A.B.C.D". Reduces 40k prefix list load time from 1.65s to 1.23s (1.34:1). Acked-by: Paul Jakma <paul@jakma.org> [v2: killed CMDS_* macros] Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 10bac80195cf5a781da6e4415e6580fd7080f734)
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions