Re: Red-black trees: why would anyone want preorder or postorder traversal?
Alexander Korotkov <a.korotkov@postgrespro.ru>
From: Alexander Korotkov <a.korotkov@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Victor Drobny <v.drobny@postgrespro.ru>
Date: 2017-09-10T14:18:00Z
Lists: pgsql-hackers
On Sun, Sep 10, 2017 at 3:25 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > In short, therefore, I propose we rip out the DirectWalk and InvertedWalk > options along with their support code, and then drop the portions of > test_rbtree that are needed to exercise them. Any objections? > +1, I don't see any point in leaving DirectWalk and InvertedWalk in RB-tree. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
Remove pre-order and post-order traversal logic for red-black trees.
- f80e782a6b4d 11.0 landed