Inline basic UTF-8 functions.
authorJeff Davis
Wed, 20 Mar 2024 16:40:57 +0000 (09:40 -0700)
committerJeff Davis
Wed, 20 Mar 2024 16:40:57 +0000 (09:40 -0700)
commit9acae56ce0b0812f3e940cf1f87e73e8d5784e78
treeccb01e1b4e05b34d0296cf4cfcd6cb28befdd40a
parent2b520860c08ac946ec5e570065ede1c467e45618
Inline basic UTF-8 functions.

Shows a measurable speedup when processing UTF-8 data, such as with
the new builtin collation provider.

Discussion: https://postgr.es/m/163f4e2190cdf67f67016044e503c5004547e5a9[email protected]
Reviewed-by: Peter Eisentraut
src/common/wchar.c
src/include/mb/pg_wchar.h