summaryrefslogtreecommitdiff
path: root/unicode-issues.txt
blob: acc660d74d24af3535ee8fb6df5ad4a9cdc00a40 (plain)
1
2
3
4
5
6

Doing a for loop to iterate over a string character-by-character may be
slow, since accessing a character at offset n requires us to scan the string
from the beginning until the required codepoint is accessed.

strlen() will return the number of codepoints which have to be calculated.