selecting dictionary items by key efficiently in python,"dict((k, mydict[k]) for k in keys_to_select if k in mydict)"