Re: [PATCH] Hex-coding optimizations using SVE on ARM.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: "Chiranmoy.Bhattacharya@fujitsu.com" <Chiranmoy.Bhattacharya@fujitsu.com>,
John Naylor <johncnaylorls@gmail.com>,
David Rowley <dgrowleyml@gmail.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
"Devanga.Susmitha@fujitsu.com" <Devanga.Susmitha@fujitsu.com>,
"Ragesh.Hajela@fujitsu.com" <Ragesh.Hajela@fujitsu.com>
Date: 2025-09-11T15:32:00Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Optimize hex_encode() and hex_decode() using SIMD.
- ec8719ccbfcd 19 (unreleased) landed
-
Speed up hex_encode with bytewise lookup
- e24d77080b36 18.0 landed
Nathan Bossart <nathandbossart@gmail.com> writes: > My current philosophy with this stuff is to favor simplicity, > maintainability, portability, etc. over extracting the absolute maximum > amount of performance gain, so I think we should proceed with the simd.h > approach. But I'm curious how others feel about this. +1. The maintainability aspect is critical over the long run. Also, there's a very real danger of optimizing for the specific hardware and test case you are working with, leading to actually worse performance with future hardware. regards, tom lane