[PATCH] D16360: unordered_map: Avoid unnecessary mallocs when no insert occurs

Duncan P. N. Exon Smith via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 14 15:01:00 PST 2016


dexonsmith updated this revision to Diff 47936.
dexonsmith added a comment.

Updated the patch to apply against r260513.  The logic is much simpler now; thanks Eric for the cleanup.

Let me know if there's anything else to do!


http://reviews.llvm.org/D16360

Files:
  include/__hash_table
  test/libcxx/containers/unord/unord.map/insert_dup_alloc.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16360.47936.patch
Type: text/x-patch
Size: 6293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160214/d3c416cf/attachment.bin>


More information about the cfe-commits mailing list