Using an Identifier is much more efficient for attribute lookups because it uses pointer comparison as opposed to string comparison.
Depends On D89659
Differential D89660
[mlir][SymbolTable] Use Identifier instead of StringRef when looking up symbol name attributes ClosedPublic Authored by rriddle on Oct 18 2020, 3:10 PM.
Details Summary Using an Identifier is much more efficient for attribute lookups because it uses pointer comparison as opposed to string comparison. Depends On D89659
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptOct 18 2020, 3:10 PM This revision is now accepted and ready to land.Oct 20 2020, 4:31 PM This revision was landed with ongoing or failed builds.Oct 26 2020, 7:40 PM Closed by commit rGeda450bb27c4: [mlir][SymbolTable] Use Identifier instead of StringRef when looking up symbol… (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Diff 300861 mlir/lib/IR/SymbolTable.cpp
|