Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1radQ5-00AjEZ-Ll for pgsql-jdbc-commits@arkaria.postgresql.org; Thu, 15 Feb 2024 15:13:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1radQ3-00Dxn4-KF for pgsql-jdbc-commits@arkaria.postgresql.org; Thu, 15 Feb 2024 15:12:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raLi4-008bL9-CT for pgsql-jdbc-commits@lists.postgresql.org; Wed, 14 Feb 2024 20:18:24 +0000 Received: from out-20.smtp.github.com ([192.30.252.203]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raLhx-007D5Y-3Q for pgsql-jdbc-commits@lists.postgresql.org; Wed, 14 Feb 2024 20:18:23 +0000 Received: from github.com (hubbernetes-node-bbf1066.va3-iad.github.net [10.48.135.36]) by smtp.github.com (Postfix) with ESMTPA id 78F868C06F7 for ; Wed, 14 Feb 2024 12:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1707941895; bh=gQCZWD8jKz1yPdVRzz1D4L8esOpUgCilgYAjc+bKbg0=; h=Date:From:To:Subject:From; b=D+BVNhxfg3MqHkTugnxuLsU5iURWBCL0fYR34JxyFtuwbS5kN20duSkj9OB0O5ldq wnzvo7Sq2klXUnvydNSfHpt7Bj3k4byqekGFVaAlcH5PDHb7P20m/p8AMCpDkvIMJc 98x0jrObJUhV2VHqBktr9hcpDccLNUFlqAKBE3MQ= Date: Wed, 14 Feb 2024 12:18:15 -0800 From: Dave Cramer To: pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] f5d6e3: WIP speed up getDate (#3108) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc-commits@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: f5d6e3fa2739eb882e93e22451f0e3273733086b https://github.com/pgjdbc/pgjdbc/commit/f5d6e3fa2739eb882e93e22451f0e3273733086b Author: Dave Cramer Date: 2024-02-14 (Wed, 14 Feb 2024) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/ArrayDecoding.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgCallableStatement.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java Log Message: ----------- WIP speed up getDate (#3108) * speed up getDate by parsing raw bytes instead of converting to string Up to 3x faster for getDate