logoalt Hacker News

moregrist • today at 7:25 AM • 0 replies • view on HN

In a trivial sense, arrays are hash tables with a hash function of the identity f(x)=x.

It’s just not particularly common (or helpful) to view them that way.