Efficent coding

im pulling some data out of a map what is the best way:-

mymap.current_observation.feelslike_c
or
mymap[‘current_observation’][‘feelslike_c’]

or does it matter?