commit | 31a02e9c5bbfc36da3e84cb13e3a48086485beb1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Sep 10 10:25:05 2011 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Sep 10 10:46:39 2011 +0200 |
tree | ad99c372437c922f31e8e561d389aac1d52828a3 | |
parent | e8c7ecc2ddecab4366a46cd949dc8a56d425fabc [diff] |
[OPTIM] halog: make fgets parse more bytes by blocks By adding a "landing area" at the end of the buffer, it becomes safe to parse more bytes at once. On 32-bit this makes fgets run about 4% faster but it does not save anything on 64-bit.