[bind10-dev] DomainTree::remove() and node fusion behavior

Mukund Sivaraman muks at isc.org
Thu Sep 5 10:30:16 UTC 2013


Hi Jinmei

On Thu, Sep 05, 2013 at 01:34:52AM -0700, JINMEI Tatuya / 神明達哉 wrote:
> If I were to vote, I'd rather keep the implementation simpler by not
> trying fusion.  The fusion operation would require allocating another
> node, which can fail, so this means either remove() can fail (which
> would normally be unexpected) or we need some effort for handling the
> error case (making the implementation more complicated).  Regarding
> the memory (and possibly subsequent lookup) efficiency I tend to agree
> with Michal (i.e., wouldn't be a serious issue in practice).  Also, if
> we really need to worry about it I suspect we'll also need to think
> about "compacting" the memory image (here I assume we'd mainly use
> mapped memory image).  If and when we need to do this, we can also
> reorganize the tree naturally.

Nod. I'll remove the fusion functionality from the branch. It's a simple
change.

		Mukund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 2881 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130905/64f4f93e/attachment.bin>


More information about the bind10-dev mailing list