Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Load factor, rehashing?

También llamado: 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.)
Leer en el capítulo →