Re: speed up verifying UTF-8

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: John Naylor <john.naylor@enterprisedb.com>
Cc: Amit Khandekar <amitdkhan.pg@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-06-07T12:24:53Z
Lists: pgsql-hackers
On 03/06/2021 21:58, John Naylor wrote:
> 
>  > What test set have you been using for performance testing this? I'd like
> 
> The microbenchmark is the same one you attached to [1], which I extended 
> with a 95% multibyte case.

Could you share the exact test you're using? I'd like to test this on my 
old raspberry pi, out of curiosity.

- Heikki



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Simplify coding style of is_valid_ascii()

  2. Apply auto-vectorization to the inner loop of numeric multiplication.