[PATCH] D145337: [ADT] Avoid needless iterator copies in `zippy`
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 5 15:51:14 PST 2023
kuhar created this revision.
kuhar added reviewers: dblaikie, zero9178, kazu, Mogball, antiagainst, beanz, zturner, mehdi_amini.
Herald added a subscriber: hanchung.
Herald added a project: All.
kuhar requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Make `zip_common` increment and decrement iterators in place.
This improves performance with iterator types that have non-triviall
copy constructors.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145337
Files:
llvm/include/llvm/ADT/STLExtras.h
llvm/unittests/ADT/IteratorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145337.502483.patch
Type: text/x-patch
Size: 4220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230305/f9782aea/attachment.bin>
More information about the llvm-commits
mailing list