Skip to content

Glossary: Algorithms Beyond the Basics

Hashable

Also written: unhashable

Able to be used as a dict key, as numbers, strings and tuples can. Lists are unhashable, so `@cache` raises `TypeError` if you pass one.

Where the book teaches it

Related terms

@cacheMemoization