CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
30.16k
stars
3.82k
forks
source link
sql: remove anonymous function allocation `isPausiblePortal` (0.15% cpu) #135943
Open
mgartner opened 13 hours ago
We can move the
portal != nil
check into theisPausible
method rather than allocating an anonymous function on the heap here:Jira issue: CRDB-44799
Epic CRDB-42584