aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/ConfigTemplates.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-07 12:41:39 +0200
committerMax Kellermann <max@duempel.org>2014-08-07 16:08:02 +0200
commit36ff991960f4d298a97cee3f8f0ffcaa30686466 (patch)
tree005d598b9157c31ff6e27f3d217405f9fa8cc708 /src/config/ConfigTemplates.cxx
parent59d38f876a22ef520c6b897a356e8fb8677481aa (diff)
downloadmpd-36ff991960f4d298a97cee3f8f0ffcaa30686466.tar.gz
mpd-36ff991960f4d298a97cee3f8f0ffcaa30686466.tar.xz
mpd-36ff991960f4d298a97cee3f8f0ffcaa30686466.zip
TextInputStream: move code to ReadBufferedLine()
Look at the buffer first, before trying to read from the file. This reduces overhead because we don't refill the buffer after every line.
Diffstat (limited to 'src/config/ConfigTemplates.cxx')
0 files changed, 0 insertions, 0 deletions