diff contrib/python3-whitelist @ 33926:f4433f2713d0

encoding: add function to test if a str consists of ASCII characters Most strings are ASCII. Let's optimize for it. Using uint64_t is slightly faster than uint32_t on 64bit system, but there isn't huge difference.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 23 Apr 2017 12:59:42 +0900
parents c90014d5cdc3
children 492cd4bbca08
line wrap: on
line diff
--- a/contrib/python3-whitelist	Sun Apr 23 14:47:52 2017 +0900
+++ b/contrib/python3-whitelist	Sun Apr 23 12:59:42 2017 +0900
@@ -18,6 +18,7 @@
 test-duplicateoptions.py
 test-empty-dir.t
 test-empty.t
+test-encoding-func.py
 test-excessive-merge.t
 test-hghave.t
 test-imports-checker.t