Re: speed up verifying UTF-8 - Mailing list pgsql-hackers

From Greg Stark
Subject Re: speed up verifying UTF-8
Date
Msg-id CAM-w4HNDsv3EGPYh4NekwjFC=g_2aBMDgn87xBiBkkB-yiTL7w@mail.gmail.com
Whole thread Raw
In response to Re: speed up verifying UTF-8  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: speed up verifying UTF-8  (Greg Stark <stark@mit.edu>)
Re: speed up verifying UTF-8  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
> 3. It's probably cheaper perform the HAS_ZERO check just once on (half1
| half2). We have to compute (half1 | half2) anyway.

Wouldn't you have to check (half1 & half2) ?



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pg_upgrade is failed for 'plpgsql_call_handler' handler
Next
From: Greg Stark
Date:
Subject: Re: speed up verifying UTF-8