[PATCH] D149322: [llvm-profdata] Condense string allocations for MD5 function names

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 09:57:12 PDT 2023


davidxl added inline comments.


================
Comment at: llvm/include/llvm/ProfileData/SampleProfReader.h:662
+  /// uint64_t::max() == 18446744073709551616 has 20 bytes.
+  void SetMD5StringBufSize(size_t N) { MD5StringBufSize = 21 * N; }
+
----------------
Can we reduce the size using hex encoding?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149322



More information about the llvm-commits mailing list