This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a switch and a macro to branch parsing of HTTP methods. Easier to read and much shorter. In this commit, the order of branches dispatching is the same as in the original code, to ease review. Reordering branches by descending frequency will improve speed too. PR-URL: #273 Reviewed-By: Fedor Indutny <fedor@indutny.com>
- Loading branch information
Showing
1 changed file
with
31 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters