David Rowley <david.row...@2ndquadrant.com> writes: > On Fri, 22 Mar 2019 at 10:10, Tom Lane <t...@sss.pgh.pa.us> wrote: >> I'm unsure how hard we should push to get something like this into v12. >> I'm concerned that its dependency on list_nth might result in performance >> regressions in some cases; ...
> However, there's always a danger we find some show-stopper with your > list reimplementation patch, in which case I wouldn't really like to > be left with list_skip_forward() in core. We could always do something like what we've already done with simple_rel_array and simple_rte_array, ie, replace the eq_classes List with a manually-managed pointer array. Given the small number of places that touch that list, it wouldn't be too awful --- but still, I'd only consider that if the List-reimplementation patch goes down in flames. regards, tom lane