• R
    use a local temp buffer for unbuffered streams in vfprintf · bd57e2b4
    Rich Felker 提交于
    this change makes it so most calls to fprintf(stderr, ...) will result
    in a single writev syscall, as opposed to roughly 2*N syscalls (and
    possibly more) where N is the number of format specifiers. in
    principle we could use a much larger buffer, but it's best not to
    increase the stack requirements too much. most messages are under 80
    chars.
    bd57e2b4
vfprintf.c 14.7 KB