Re: Red/black trees

看板DFBSD_kernel作者時間21年前 (2005/04/18 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/11 (看更多)
Matthew Dillon <dillon@apollo.backplane.com> writes: > Skip lists... Well, based on that documentation my first reaction > is "ick". It looks like a flattened, bastardized n-way tree. Searches > basically cost the same. Insertions and deletions should theoretically > be faster, but the trade-off is against additional loss of determinism. > ,---- | > Degenerate conditions have a way of sneaking up on data structures | > that try to be sneaky. I'd rather have the determinism of a red-black | > tree, frankly. `---- that's exactly why, i had mentioned earlier about the 'deterministic' version of the same data structure, called 'deterministic skip lists'. kind regards anupam
文章代碼(AID): #12OuLf00 (DFBSD_kernel)
文章代碼(AID): #12OuLf00 (DFBSD_kernel)