By the Numbers
- Arrays 15% smaller, 15% faster than hashes.
- Typed pseudohashes 15% faster than hashes (array lookup).
- Untyped pseudohashes 15% slower (hash lookup, THEN array lookup) ...
But...
- Removing pseudohash-specific code speeds up ALL hash access by 10-15%.
D'OH.