RE: SIMD optimization for list_sort

2025-02-17 Thread R, Rakshit
gards, -Original Message- From: Andrei Lepikhov Sent: Saturday, November 23, 2024 8:50 AM To: Giacchino, Luca ; pgsql-hackers@lists.postgresql.org Cc: R, Rakshit ; Shankaran, Akash ; Devulapalli, Raghuveer Subject: Re: SIMD optimization for list_sort On 22/11/2024 06:27, Giacchino, Luca wrot

RE: SIMD optimization for list_sort

2025-02-27 Thread R, Rakshit
Hi All, Thank you so much for the feedback. > I don't think "another extension might use it someday" makes a very strong > case, > particularly for something that requires a new dependency. The x86-simdsort library is an optional dependency in Postgres. Also the new list sort implementation

Proposal for optimizations with simd enabled sort

2025-03-28 Thread R, Rakshit
Hi All, We would like to share a proposal for optimizations with simd enabled sort. Sorting is a common task in Postgres, for example, for sorting tuples (e.g., for queries requiring ordered, grouped, or unique rows) or arrays of elements (e.g., list_sort). We propose integrating SIMD-based sort