[MINOR] buffers: inline buffer_si_putchar()
authorWilly Tarreau <w@1wt.eu>
Sun, 13 Sep 2009 12:58:00 +0000 (14:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Sep 2009 14:34:18 +0000 (16:34 +0200)
commitc77e7619689c8ccd77ce1a80d379579a86f03843
tree7a2820f8e0242559a149bb579c6b3302c9b6edf8
parent816b97997772524e974b18a165af8f4f803192c6
[MINOR] buffers: inline buffer_si_putchar()

By inlining this function and slightly reordering it, we can double
the getchar/putchar test throughput, and reduce its footprint by about
40 bytes. Also, it was the only non-inlined char-based function, which
now makes it more consistent this time.
include/proto/buffers.h
src/buffers.c