Commit Graph

3 Commits

Author SHA1 Message Date
Avi Kivity
05effc0b2d array_map: fix initialization
Force value initialization of the array, rather than the default (default
initialization) which does nothing for primitive types such as pointers.
2014-10-22 16:37:36 +03:00
Tomasz Grabiec
4311f5dafa array_map: introduce at() 2014-09-16 18:48:14 +03:00
Avi Kivity
93f1af6f33 core: add array_map<>
A map implemented using an array, for fast lookups in a small contiguous
search space.
2014-09-01 15:18:13 +03:00