Tree Root http://swiss.csail.mit.edu/~jaffer/WB

WB

Current Version Released Terms
2a2 2008-02-03 LGPL

WB is a disk based (sorted) associative-array package providing C, SCM, Java, and C# libraries. These associative arrays consist of variable length (0.B to 255.B) keys and values. Functions are provided to:

The (database) disk files interoperate between the various language libraries. The interface to the SCM Scheme implementation supports longer data values and SLIB relational databases.

The WB implementation has a file size limit of 232 * block size (default 2048.B) = 243 bytes (8796.GB). WB routinely runs with databases of several hundred Megabytes. WB does its own memory and disk management and maintains a RAM cache of recently used blocks.

Multiple associative arrays can reside in one disk file. Simultaneous access to multiple disk files is supported. A structure checking and garbage collecting program and a viewer are provided. Compiled, WB occupies approximately 66.kB.

WB is implemented using a variant of B-tree structure. B-trees give slower access than hashing but are dynamic and provide an efficient determination of successor and predecessor keys. All operations are O(log(n)) in the size of the database. B-trees are commonly used by database systems for implementing index structures. B-trees are optimized for using the minimum number of disk operations for large data structures. Prefix and suffix key compression are used for storage efficiency in WB.

WB, SLIB, and SCM are GNU packages.


News

Quick Start

Documentation

WB Development

Related Software

Miscellany

Copyright © 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008 Aubrey Jaffer

I am a guest and not a member of the MIT Computer Science and Artificial Intelligence Laboratory.  My actions and comments do not reflect in any way on MIT.
agj @ alum.mit.edu
Go Figure!