Skip to content

Commit fb4b669

Browse files
committed
On the user-defined-authn branch: Remove the character classification
table. It turns out that range checks are faster than table lookups. Which I should have known. * src/genctype.py: Removed. * src/syntax.c: - Declare string functions through <apr_want.h> - Remove the character classification table and macros. (ct_isalnum): New; finds ASCII digits, uppercase and lowercase letters. (ct_istoken, ct_istoken68): Reimplement with range checks. (skip_space): Likewses; use strspn instead. git-svn-id: https://svn.apache.org/repos/asf/serf/branches/user-defined-authn@1927498 13f79535-47bb-0310-9956-ffa450edef68
1 parent 82f0723 commit fb4b669

File tree

2 files changed

+27
-424
lines changed

2 files changed

+27
-424
lines changed

src/genctype.py

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)