perf: Only do hex check if digits are in identifiers

This commit is contained in:
Ed Page 2019-11-01 16:25:19 -06:00
parent a00831c847
commit 68cd36d0de

View file

@ -50,7 +50,7 @@ impl ParserBuilder {
Parser { Parser {
words_str, words_str,
words_bytes, words_bytes,
ignore_hex: self.ignore_hex, ignore_hex: self.ignore_hex && self.include_digits,
} }
} }
} }