• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: red black trees
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: red black trees


  • Subject: Re: red black trees
  • From: Marco Scheurer <email@hidden>
  • Date: Thu, 19 Feb 2004 11:29:52 +0100

On Feb 19, 2004, at 8:41 AM, Allan Odgaard wrote:

On 19. Feb 2004, at 5:22, Brian Reardon wrote:

So what is driving your desire to have a tree vs an ordered array?
I am trying to implement Preparata and Shamos's convex hull point set search algorithm (Computational Geometry, Springer-Verlag, 1985, section 4.1.3, pages 157-166)

Arg... implementing algorithms in ObjC is certainly not something I would recommend, not really for the performance overhead, but mainly for the syntactic overhead -- i.e. lack of operator overloading, implicit type conversions, compact type declarations, stack allocated temporaries etc. etc.

Argh! I would have said exactly the opposite, ie one always want to avoid the syntactic mess of C++. The EDCommon framework from Mulle Kybernetik has a red black tree implementation in a class named EDSortedArray.

http://www.mulle-kybernetik.com/software/EDFrameworks/Documentation/ EDCommon/Classes/EDSortedArray.html

I haven't used it, so I cannot comment on this class in particular, but Mulle Kybernetik's stuff is usually very well done.

Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: red black trees
      • From: Allan Odgaard <email@hidden>
    • Re: red black trees
      • From: Óscar Morales Vivó <email@hidden>
References: 
 >red black trees (From: Brian Reardon <email@hidden>)
 >Re: red black trees (From: Todd Blanchard <email@hidden>)
 >Re: red black trees (From: Brian Reardon <email@hidden>)
 >Re: red black trees (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Compiling trouble
  • Next by Date: Re: red black trees
  • Previous by thread: Re: red black trees
  • Next by thread: Re: red black trees
  • Index(es):
    • Date
    • Thread