Lecture notes for CS 503, Advanced Programming I

Advanced Programming I Lecture Notes

6 April 2006 • Dynamic Hashing


Outline

Hash-Table Size

The Current State

Dynamic Hash Tables

Prerequisites

Dynamic Components

Addressing

Tree-Based Addressing

Tree-Based Collisions

Big Buckets

Storage

Directories

No Directories

Collisions And Overflow

Collisions

Overflow Buckets

Directory Overflow

Growing and Shrinking

Directory Growth

Directoryless Growth

directoryless expansion

  • Growing a directoryless hash is roughly the same as for a directory hash.

  • But it uses more time and space.

  • There's a more efficent incremental scheme.

    • But it's also less effective.

Shrinking

shrinking

References


This page last modified on 7 June 2006.

This work is covered by a
Creative Commons License.