opslagstabel
Opslagstabel is a data structure that stores pairs of keys and values, allowing fast retrieval of a value by its corresponding key. The term is commonly used in Danish computing to refer to a mapping or dictionary that maps input tokens to associated data.
The most widely used implementation is the hash table. A hash function converts a key into an
Alternative implementations include balanced search trees (for example red-black trees), which provide O(log n) time for
A opslagstabel is distinct from a database index, though they share the goal of speeding data retrieval.
Common use cases include symbol tables in compilers, configuration mappings, translation tables in localization, and fast