My comment was meant tongue in cheek. Maps are _the_ universal data structure: they can be used to map any input to any output. The rest is just an implementation detail.
One might even call them "functions", but that ruins the joke.
Re:The Universal Data Structure
by elbenshira on Tuesday June 30, 2015 @03:14PM
(#9807733)
I missed an opportunity here.
Not in this case. An ordered map implemented as a tree has the same interface but with very different operation complexities