Another cleanup possibility - parser

Hal Murray hmurray at megapathdsl.net
Fri Jan 27 08:37:25 UTC 2017


The current config file parser is 2 passes.  The first pass collects the info 
in memory.  The second pass does the work.  I think that structure is 
leftover from when it could write out the config file, but that was removed a 
long time ago.

If we can't write it out, there is no need for a parsed copy in memory.  I'll 
bet a lot of stuff can be simplified if the in-memory copy is eliminated.

Another quirk with the two passes is that the order and timing differs from 
what you would probably expect.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list