From: Brett Okken <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] f2a24d: perf: improve performance of bytea string decoding...
Date: Mon, 25 Oct 2021 09:48:14 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/c9be5c-f2a24d@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: f2a24d37363b59279290ef16767047bf65b3694c
https://github.com/pgjdbc/pgjdbc/commit/f2a24d37363b59279290ef16767047bf65b3694c
Author: Brett Okken <brett.okken.os@gmail.com>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/util/PGbytea.java
M pgjdbc/src/test/java/org/postgresql/jdbc/ByteaArraysTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
A pgjdbc/src/test/java/org/postgresql/util/PGbyteaTest.java
Log Message:
-----------
perf: improve performance of bytea string decoding (#2320)
* perf: improve performance of bytea string decoding
improve the parsing of bytea hex encoded string by making a lookup table
for each of the valid ascii code points to the 4 bit numeric value
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] f2a24d: perf: improve performance of bytea string decoding...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/c9be5c-f2a24d@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/c9be5c-f2a24d@github.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox