Re: Optimizing FastPathTransferRelationLocks()

2025-03-14 Thread Fujii Masao
On 2025/03/13 0:32, Ashutosh Bapat wrote: Fair enough. The code is more readable this way. That itself is an improvement. I stared at c4d5cb71d229095a39fda1121a75ee40e6069a2a to see whether there's any reason this was left aside at that time. I am convinced that it was just missed. I think th

Re: Optimizing FastPathTransferRelationLocks()

2025-03-12 Thread Ashutosh Bapat
On Tue, Mar 11, 2025 at 8:46 PM Fujii Masao wrote: > > > > On 2025/03/11 20:55, Ashutosh Bapat wrote: > > Hi Fujii-san, > > > > It seems that this was forgotten somehow. > > > > The patch still applies. > > > > Examining c4d5cb71d229095a39fda1121a75ee40e6069a2a, it seems that this patch > > could

Re: Optimizing FastPathTransferRelationLocks()

2025-03-11 Thread Fujii Masao
On 2025/03/11 20:55, Ashutosh Bapat wrote: Hi Fujii-san, It seems that this was forgotten somehow. The patch still applies. Examining c4d5cb71d229095a39fda1121a75ee40e6069a2a, it seems that this patch could have been part of that commit as well. But may be it wasn't so apparent that time. I

Re: Optimizing FastPathTransferRelationLocks()

2025-03-11 Thread Ashutosh Bapat
Hi Fujii-san, It seems that this was forgotten somehow. The patch still applies. Examining c4d5cb71d229095a39fda1121a75ee40e6069a2a, it seems that this patch could have been part of that commit as well. But may be it wasn't so apparent that time. I think it's a good improvement. On Tue, Nov 19,

Re: Optimizing FastPathTransferRelationLocks()

2024-11-19 Thread Fujii Masao
On 2024/11/16 7:15, Heikki Linnakangas wrote: On 12/11/2024 03:16, Fujii Masao wrote: Hi, I've identified some opportunities to optimize FastPathTransferRelationLocks(), which transfers locks with a specific lock tag from per-backend fast- path arrays to the shared hash table. The attached p

Re: Optimizing FastPathTransferRelationLocks()

2024-11-15 Thread Heikki Linnakangas
On 12/11/2024 03:16, Fujii Masao wrote: Hi, I've identified some opportunities to optimize FastPathTransferRelationLocks(), which transfers locks with a specific lock tag from per-backend fast- path arrays to the shared hash table. The attached patch includes these enhancements. Currently, Fa

Optimizing FastPathTransferRelationLocks()

2024-11-11 Thread Fujii Masao
Hi, I've identified some opportunities to optimize FastPathTransferRelationLocks(), which transfers locks with a specific lock tag from per-backend fast-path arrays to the shared hash table. The attached patch includes these enhancements. Currently, FastPathTransferRelationLocks() recalculates t