Commit 31571270 authored by Committed by Austin Seipp
Improve isDigit, isSpace, etc.
Summary: Make things less branchy; use unsigned comparisons for range checking. Eliminate non-spaces more quickly in common cases in isSpace. Reviewers: ekmett, carter, austin Reviewed By: austin Subscribers: thomie, carter, ezyang, simonmar Differential Revision: https://phabricator.haskell.org/D340 GHC Trac Issues: #1473
Showing with 30 additions and 19 deletions