Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common: simplify and optimize string escape parsing | wm4 | 2013-12-30 | 1 | -26/+1 |
| | | | | | | | | | | | This code is shared between input.conf parser and option parser. Until now, the performance didn't really matter. But I want to use this code for JSON parsing too, and since JSON will have to be parsed a lot, it should probably try to avoid realloc'ing too much. This commit moves parsing of C-style escaped strings into a common function, and allows using it in a way realloc can be completely avoided, if the already allocated buffer is large enough. | ||||
* | input: split off some code from input.c to separate files | wm4 | 2013-12-26 | 1 | -0/+410 |
This is mostly just moving code around. |