While hash tables have no limit as to how many info you can store, variables, on the contrary, have limit.
Nevertheless I agree with you about using vars when it comes to storing small integers.