Change collation cache to use simplehash.h. Speeds up text comparison expressions when using a collation other than the database default collation. Does not affect larger operations such as ORDER BY, because the lookup is only done once.
Discussion: https://postgr.es/m/[email protected] Reviewed-by: John Naylor, Andreas Karlsson Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/005c6b833f7866b71b50a5382e30d6c3f695306e Modified Files -------------- src/backend/utils/adt/pg_locale.c | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-)
