[libc-commits] [PATCH] D93210: [libc] revamp memory function benchmark

Clement Courbet via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Dec 16 00:51:47 PST 2020


courbet added inline comments.


================
Comment at: libc/benchmarks/MemorySizeDistributions.cpp:42
       {"memcpy Google W", kMemcpyGoogleW},
+      {"uniform 384 to 4096", {}, 384, 4096},
   };
----------------
Would it make sense to statically generate the uniform array and just get rid of all the code to handle uniform gen ? We could remove a lot of code with the cost of one additional array here.




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93210



More information about the libc-commits mailing list