Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Static dictionaries on AC{sup 0} RAMs: Query time {Theta} ({radical}log n/log log n) is necessary and sufficient

Conference ·
OSTI ID:457674
 [1];  [2];  [3];  [4]
  1. Lund Univ. (Sweden)
  2. Univ. of Toronto (Canada)
  3. Univ. of Leeds (United Kingdom)
  4. Univ. of Copenhagen (Denmark)

In this paper we consider solutions to the static dictionary problem on AC{sup 0} RAMs, i.e. random access machines where the only restriction on the finite instruction set is that all computational instructions are in AC{sup 0}. Our main result is a tight upper and lower bound of {Theta}({radical}log n/ log log n) on the time for answering membership queries in a set of size n when reasonable space is used for the data structure storing the set; the upper bound can be obtained using O(n) space, and the lower bound holds even if we allow space 2{sup polylog n}. Several variations of this result are also obtained Among others, we show a tradeoff between time and circuit depth under the unit-cost assumption: any RAM instruction set which permits a linear space, constant query time solution to the static dictionary problem must have an instruction of depth {Omega}(log w/ log log w), where w is the word size of the machine (and log the size of the universe). This matches the depth of multiplication and integer division, used in the perfect hashing scheme by Fredman, Komlos and Szemeredi.

OSTI ID:
457674
Report Number(s):
CONF-961004--
Country of Publication:
United States
Language:
English

Similar Records

Optimal VLSI dictionary machines without compress instructions
Journal Article · Tue May 01 00:00:00 EDT 1990 · IEEE Transactions on Computers (Institute of Electrical and Electronics Engineers); (USA) · OSTI ID:6860383

Dictionary machine (for VLSI)
Journal Article · Wed Sep 01 00:00:00 EDT 1982 · IEEE Trans. Comput.; (United States) · OSTI ID:6232221

On RAM priority queues
Conference · Mon Dec 30 23:00:00 EST 1996 · OSTI ID:416786