Re: LwLockRelease performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ashkil Dighin <ashkildighin76@xxxxxxxxx> writes:
> The performance bottleneck in LWLockRelease()method goes through an array
> one by one to see which lock was released with O(N). As soon as the lock is
> found it performs an array to remove the lock.

Typically, such locks are released in LIFO order.  Do you have any
actual evidence of a performance problem here?

			regards, tom lane





[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux