Re: [CFReview] Red-Black Tree - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [CFReview] Red-Black Tree
Date
Msg-id 20100208200517.GR4113@alvh.no-ip.org
Whole thread Raw
In response to Re: [CFReview] Red-Black Tree  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: [CFReview] Red-Black Tree  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
It seems a bit strange to have all the rb_free_recursive support and not
use it anywhere ... and a freefunc callback even, whose only caller
seems to set as null currently.  Hmm, even in the knngist patch the
rb_freefunc stuff is unused.  How do we now that it works?

(What, for example, if we were to allocate multiple nodes in a single
palloc chunk?  I'm not familiar with this stuff but that seems
plausible)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Order of operations in lazy_vacuum_rel
Next
From: Oleg Bartunov
Date:
Subject: Re: Knngist for 8.5