etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: libtree-redblack-perl  ]

Package: libtree-redblack-perl (0.3-8)

Perl implementation of Red/Black tree, a balanced tree

This is a demonstration package, showing the performance differences between different methods of data storage and accessing. It contains a perl implementation of the Red/Black tree algorithm found in the book "Algorithms", by Cormen, Leiserson & Rivest (more commonly known as "CLR" or "The White Book"). A Red/Black tree is a binary tree which remains "balanced"- that is, the longest length from root to a node is at most one more than the shortest such length. It is fairly efficient; no operation takes more than O(lg(n)) time.

An example perl script is contained in the documentation directory, which would show the different run times using hash table, linear or tree structure.

Tags: Software Development: Perl Development, Libraries, Implemented in: Perl, Role: Development Library, Shared Library

Other Packages Related to libtree-redblack-perl

  • depends
  • recommends
  • suggests
  • dep: perl (>= 5.6.0-16)
    Larry Wall's Practical Extraction and Report Language

Download libtree-redblack-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 14.0 kB88 kB [list of files]