Skip to content
Snippets Groups Projects
Commit c40a0a1b authored by Tom Lane's avatar Tom Lane
Browse files

Marginal performance improvement in LockBuffer --- calculate address

of BufferLocks[] entry just once.  Seems to save 10% or so of the
routine's runtime, which'd not be worth worrying about if it weren't
such a hotspot.
parent e02cde4b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment