Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 08:41:11 -0800
From:      Jason Evans <jasone@canonware.com>
To:        Hiten Pandya <hiten.pandya@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: New libc malloc patch
Message-ID:  <7AA89647-5ABE-43C9-8BB0-57E04D2F66A4@canonware.com>
In-Reply-To: <9b1858120511290252w1e6d3458m@mail.gmail.com>
References:  <B6653214-2181-4342-854D-323979D23EE8@canonware.com> <9b1858120511290252w1e6d3458m@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 29, 2005, at 2:52 AM, Hiten Pandya wrote:
> I see that you have included an implementation of red-black tree CPP
> macros, but wouldn't it be better if you were to use the ones in
> <sys/tree.h> ?  I have only had a precursory look, but I would have
> thought that would be the way to go.

There is a feature missing from sys/tree.h that I need (rb_nsearch()  
in the patch), but you are right that it would probably be best to  
use sys/tree.h.  I am going to work on adding RB_NFIND(), and will  
then try switching to sys/tree.h.

Thanks,
Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7AA89647-5ABE-43C9-8BB0-57E04D2F66A4>