I inferred that you probably use standard library collections. Not really an insulting inference, it'd be insulting to assume you didn't.
Personally, I make it a habit to always read (or try to read, in this case) standard library source code that I'm depending on to be correct.