commit | 230fd0bfdfec5df9e76e918a31ba6f0ff61930af | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 17 12:05:00 2006 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 17 12:05:00 2006 +0100 |
tree | aae60d46d6a00edab8084af997c61cd45d2a3327 | |
parent | 976f1ee561f9cb5167cfc2aeee218a345e730b13 [diff] |
[MEDIUM] optimized the request parser a bit more Some while() constructs are not very efficient with gcc, yet they are used to scan all the text in the start line and the headers. Replacing them with more efficient (but ugly) loops provides a global gain of about 2%, which is not bad at all !