Radius Server (radius_server) wrote,
Radius Server
radius_server

Recursive vs Iterative

Who has not heard about recursive BST implementations being inferior to iterative ones?

Here's the test:
recursive vs iterative - shuffled

Not as black as they paint... :)
There's no memory management involved so it's faster than this.
Tags: avl tree, iterative, recursive
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments