Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ps1BA-0007ZB-LQ for pgsql-jdbc-commits@arkaria.postgresql.org; Thu, 27 Apr 2023 12:56:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ps1B9-0001P9-KZ for pgsql-jdbc-commits@arkaria.postgresql.org; Thu, 27 Apr 2023 12:56:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ps1B9-0001Oz-E6 for pgsql-jdbc-commits@lists.postgresql.org; Thu, 27 Apr 2023 12:56:55 +0000 Received: from out-18.smtp.github.com ([192.30.252.201]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ps1B6-005Nl4-E9 for pgsql-jdbc-commits@lists.postgresql.org; Thu, 27 Apr 2023 12:56:54 +0000 Received: from github.com (hubbernetes-node-2de698b.va3-iad.github.net [10.48.145.26]) by smtp.github.com (Postfix) with ESMTPA id D73EA340933 for ; Thu, 27 Apr 2023 05:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1682600210; bh=jVM96iNILw1iv26abturvD7XA5mvKG2kHQ3Jv+Hi5VU=; h=Date:From:To:Subject:From; b=hrln5Ci0aoSrZg2UcVLuerKZ0CtJw5LqbXQSCBOLZO8ywDlHWS8T6GDmk65vwnQ5o cQkZ2oJIzsiMrdLGNUvyCA+JNPgOi9xUee8CVPctkXN+6K+d+3S4N8z8GM191oQR44 y/nGPrF21OIf8c9+MMcIqWb6S40W0xerqIMOw2yE= Date: Thu, 27 Apr 2023 05:56:50 -0700 From: zhurs To: pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] ed209a: Method getFastLong should be able to parse all lon... 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: ed209a6eee8611d1ed68b36096031268dc170914 https://github.com/pgjdbc/pgjdbc/commit/ed209a6eee8611d1ed68b36096031268dc170914 Author: zhurs Date: 2023-04-27 (Thu, 27 Apr 2023) Changed paths: A benchmarks/src/jmh/java/org/postgresql/benchmark/util/LongParser.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java A pgjdbc/src/main/java/org/postgresql/util/NumberParser.java A pgjdbc/src/test/java/org/postgresql/util/NumberParserTest.java Log Message: ----------- Method getFastLong should be able to parse all longs (#2881) * feat: method getFastLong should be able to parse all longs * refactoring: getFastLong moved to NumberParser util class, added tests and benchmark