REORG: config: extract the global section parser into cfgparse-global
authorWilly Tarreau <w@1wt.eu>
Sun, 11 Nov 2018 14:19:52 +0000 (15:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Nov 2018 05:41:57 +0000 (06:41 +0100)
commit36b9e222bb2b5dc41079ae53d462ce4f2e3d9269
tree15f01fe08f80f5e7ac326528c5c6a589c09bb998
parent5c0e41b7cb740db9c0ff66d36767e0a3db44f1f6
REORG: config: extract the global section parser into cfgparse-global

The config parser is the largest file to build and its build dominates
the total project's build time. Let's start to split it into multiple
smaller pieces by extracting the "global" section parser into a new
file called "cfgparse-global.c". This removes 1/4th of the file's build
time.
Makefile
include/common/cfgparse.h
src/cfgparse-global.c [new file with mode: 0644]
src/cfgparse.c