Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Load factor, rehashing?

Também chamado de: load factor · rehashing

Definition 16.5 University Computer Science — Year 1 · Capítulo 16 — Hash Tables

The load factor of a table holding nn keys in mm buckets is α=n/m\alpha = n/m. Rehashing moves every entry to a new array of a different size, recomputing its position.

Keys, a hash function and seven buckets with chaining: dog and saw land in the same bucket, which then holds a list of two entries. Empty buckets hold null pointers. (Illustrative positions.)
Keys, a hash function and seven buckets with chaining: dog and saw land in the same bucket, which then holds a list of two entries. Empty buckets hold null pointers. (Illustrative positions.)
Ler no capítulo →