towupper/towlower: fast path for ascii chars
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 30 May 2017 12:23:24 +0000 (14:23 +0200)
committerRich Felker <dalias@aerifal.cx>
Thu, 1 Jun 2017 01:54:22 +0000 (21:54 -0400)
commit179766aa2ef06df854bc1d9616bf6f00ce49b7f9
treef74f16db37624f8712a8eac90e0c190d6557564c
parent1c497005ee58fd237646a49231b73fd3ea79e2d5
towupper/towlower: fast path for ascii chars

Make a fast path for ascii chars which is assumed to be the most common
case. This has significant performance benefit on xml json and similar
src/ctype/towctrans.c