Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
33925:2c37f9dabc32 | 33926:f4433f2713d0 |
---|---|
16 test-dirstate-nonnormalset.t | 16 test-dirstate-nonnormalset.t |
17 test-doctest.py | 17 test-doctest.py |
18 test-duplicateoptions.py | 18 test-duplicateoptions.py |
19 test-empty-dir.t | 19 test-empty-dir.t |
20 test-empty.t | 20 test-empty.t |
21 test-encoding-func.py | |
21 test-excessive-merge.t | 22 test-excessive-merge.t |
22 test-hghave.t | 23 test-hghave.t |
23 test-imports-checker.t | 24 test-imports-checker.t |
24 test-issue1089.t | 25 test-issue1089.t |
25 test-issue1993.t | 26 test-issue1993.t |