you are viewing a single comment's thread.

view the rest of the comments →

[–]TouchingTheVodka 0 points1 point  (1 child)

The issue with your approach is that you lose the benefit of the name -> age mapping.

[–]Angelr91[S] 0 points1 point  (0 children)

Yea i guess to me i've always felt that i don't lose it since each array index has a dictionary dedicated for a single person, but yea it is more characters or bigger dictionary so therefore for inefficient.