[PATCH] D117460: [clang-tidy][NFC] Reduce map lookups in IncludeSorter

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 17 07:38:14 PST 2022


njames93 added a comment.

In D117460#3248613 <https://reviews.llvm.org/D117460#3248613>, @alexfh wrote:

> I wonder what motivated the patch. Is this a performance optimization? If so, do you have any measurements?

I was doing some work on IncludeInserter and just thought, this seems unnecessary. It'd be hard to microbenchmark this, but I'll see what I can rustle up.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117460/new/

https://reviews.llvm.org/D117460



More information about the cfe-commits mailing list