util.dbuffer: Add efficient shortcuts for discard() in certain cases
If the buffer is already empty, nothing to do. If we're throwing away the
whole buffer, we can just empty it and avoid read_chunk() (which in turn
may collapse()). These shortcuts are much more efficient.
root = true
[*]
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[CHANGES]
indent_size = 4
indent_style = space
[configure]
indent_size = 3
indent_style = space
[**.xml]
indent_size = 2
indent_style = space