This repository has been archived by the owner on Aug 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a bunch of comments / more efficient implementation
Use more clever range checking for isUpper, isLower, isDigit, etc. The idea is that the first condition is more likely to be the one that fails, that way it’ll short circuit more often. Likelihood is just an estimate based on ASCII characters though!
- Loading branch information
Showing
1 changed file
with
95 additions
and
19 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