NFC: Change DictionaryAttr::get(StringRef) to use binary search instead of a linear scan.
NFC: Change DictionaryAttr::get(StringRef) to use binary search instead of a linear scan.

The elements of a DictionaryAttr are guaranteed to be sorted by name, so we can use a more efficient lookup when searching for an attribute.

PiperOrigin-RevId: 280035488
Change-Id: I6ad9f499bd0f8a26c3993b8498c29e124c56c0af

tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,yongtang/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,annarev/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,aldian/tensorflow,jhseu/tensorflow,jhseu/tensorflow,jhseu/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,aam-at/tensorflow,aam-at/tensorflow,annarev/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,arborh/tensorflow,sarvex/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,aldian/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,gunan/tensorflow,yongtang/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,gautam1858/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,arborh/tensorflow,xzturn/tensorflow,gunan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,arborh/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,aldian/tensorflow,tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,karllessard/tensorflow,aam-at/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,karllessard/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,ppwwyyxx/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,aam-at/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,aldian/tensorflow,davidzchen/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,gunan/tensorflow,gunan/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ppwwyyxx/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,aldian/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,arborh/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,jhseu/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,arborh/tensorflow,gunan/tensorflow,yongtang/tensorflow,annarev/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,yongtang/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,renyi533/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,petewarden/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,karllessard/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,annarev/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,petewarden/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,annarev/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,renyi533/tensorflow,annarev/tensorflow,yongtang/tensorflow,gunan/tensorflow,arborh/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,jhseu/tensorflow,sarvex/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,karllessard/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,jhseu/tensorflow,renyi533/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow