Next | Query returned 23 messages, browsing 21 to 30 | previous

History of commit frequency

CVS Commit History:


   2008-08-15 18:06:21 by Takahiro Kambe | Files touched by this commit (1)
Log message:
Replace HOMEPAGE to RubyForge's project page since previous page was gone.
   2008-04-04 17:30:02 by Johnny C. Lam | Files touched by this commit (98)
Log message:
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
   2007-04-21 12:20:05 by Thomas Klausner | Files touched by this commit (4) | Imported package
Log message:
Initial import of ruby-rbtree-0.2.0:

RBTree is a sorted associative collection using Red-Black Tree as
the internal data structure. The elements of RBTree are ordered
and the interface is the almost same as Hash, so simply you can
consider RBTree sorted Hash.

Red-Black Tree is a kind of binary tree that automatically balances
by itself when a node is inserted or deleted. Thus the complexity
for insert, search and delete is O(log N) in expected and worst
case. On the other hand the complexity of Hash is O(1). Because
Hash is unordered the data structure is more effective than Red-Black
Tree as an associative collection.

The interface of RBTree is the almost same as Hash although there
are some limitations.


Next | Query returned 23 messages, browsing 21 to 30 | previous