[PATCH] D48783: [ThinLTO] Use std::map for import lists to get determistic imports files

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 10:50:52 PDT 2018


mehdi_amini added a comment.

std::map is usually fairly slow, have you considered sorting at the time you write to the file instead? That would add a slow step when writing the files but wouldn't affect any in-memory operation.


Repository:
  rL LLVM

https://reviews.llvm.org/D48783





More information about the llvm-commits mailing list