RE: Proposal for optimizations with simd enabled sort

2025-07-02 Thread Giacchino, Luca
Hi All, We'd like to share updated performance results for tuple sort after improving the benchmark to better stress sort. We added an offset to the query to eliminate the contribution of data movement to the client (referring to https://www.postgresql.org/message-id/flat/CANWCAZbAmaZ7P%2BARjS9

SIMD optimization for list_sort

2024-11-21 Thread Giacchino, Luca
Hi All, We propose enabling SIMD-based sort for list_sort using the x86-simd-sort library (https://github.com/intel/x86-simd-sort). The existing list_sort takes a comparator function to compare pairs of ListCell. On the other hand, x86-simd-sort requires an array of numeric values to sort, and