[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
Fri Jan 22 15:04:26 PST 2016


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

Committed r258511 and r258575 as preps.  Updated patch addresses review comments (and skips the trivially constructible parts).


http://reviews.llvm.org/D16360

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16360.45758.patch
Type: text/x-patch
Size: 10220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160122/73e75001/attachment-0001.bin>


More information about the cfe-commits mailing list