Re: Use list_delete_xxxcell O(1) instead of list_delete_ptr O(N) in some places

Luc Vlaming <luc@swarm64.com>

From: Luc Vlaming <luc@swarm64.com>
To: pgsql-hackers@lists.postgresql.org
Cc: hou zj <houzj.fnst@cn.fujitsu.com>
Date: 2020-10-14T07:13:42Z
Lists: pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  tested, passed
Implements feature:       not tested
Spec compliant:           not tested
Documentation:            not tested

Patch applies cleanly on master & 13 and installcheck-world runs on 13 & master. Seem to follow the new style of using more the expressive macro's for the list interface, so looks good to me.

The new status of this patch is: Ready for Committer

Commits

  1. Optimize a few list_delete_ptr calls