- 12 Nov, 2012 1 commit
-
-
Vicent Marti committed
-
- 05 Oct, 2011 1 commit
-
-
Vicent Marti committed
-
- 29 Sep, 2011 1 commit
-
-
Vicent Marti committed
-
- 28 Sep, 2011 2 commits
-
-
Carlos Martín Nieto committed
-
Vicent Marti committed
-
- 27 Sep, 2011 1 commit
-
-
Bitfields suck. And if you make them with non-int types, they suck in a non-standards compliant way. Like sucking sideways or something. This commit removes all bitfields in the `http_parser` struct, and replaces them with the minimal type needed to contain their values. Note that the fields in the struct have been reordered so they can be packed with 4-byte alignment. This saves both memory on the parser (because non-int bitfields get expanded to 4byte in most compilers anyway) and time (because the fields are now properly aligned and the compiler doesn't need to generate bit-level ops to access them).
Vicent Marti committed
-
- 09 Sep, 2011 1 commit
-
-
The code is under the MIT lincense Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed
-