[libcxx-commits] [PATCH] D62778: [1/2] Add a benchmark for map operations.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 29 11:40:06 PDT 2019


Mordante updated this revision to Diff 207205.
Mordante added a comment.

I added 3 extra iterator positions for all hint cases:

- end() as you suggested.
- begin() this is most of the time the wrong iterator.
- the third element this is most of the time the wrong iterator. Just to avoid the code will use special optimizations on begin() and end().


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

https://reviews.llvm.org/D62778

Files:
  libcxx/benchmarks/map.bench.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62778.207205.patch
Type: text/x-patch
Size: 30142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190629/2de92ea7/attachment-0001.bin>


More information about the libcxx-commits mailing list