]> git.ipfire.org Git - thirdparty/bird.git/commit
Custom number parser to speed up config parsing
authorMaria Matejka <mq@ucw.cz>
Mon, 25 Feb 2019 22:28:36 +0000 (23:28 +0100)
committerMaria Matejka <mq@ucw.cz>
Mon, 25 Feb 2019 22:28:36 +0000 (23:28 +0100)
commit2915e711f77d68dff756babd19af8da1677c4549
tree3fb2f8b5decbc9db40c5b9b00847dc49c0703f21
parent99911873a196975f5221aad89ae5eac42e1330e0
Custom number parser to speed up config parsing

The glibc's generic parser is slow due to its versatility. Specialized
parsers for base-10 and base-16 are much faster and we don't use other
bases.
conf/cf-lex.l
lib/Makefile
lib/ip.c
lib/string.h
lib/strtoul.c [new file with mode: 0644]