[PATCH] D27068: Improve string::find

Aditya Kumar via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 23 15:08:06 PST 2016

hiraditya created this revision.
hiraditya added reviewers: mclow.lists, EricWF.
hiraditya added subscribers: sebpop, cfe-commits.

Improving string::find such that it ultimately gets converted to calls to memchr and memcmp. This is an intermediate patch to see if there is an interest
in this optimization. I'm planning to propagate this change to similar functions string::rfind ... etc.

Worked in collaboration with Sebastian Pop.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27068.79156.patch
Type: text/x-patch
Size: 3910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161123/f1c58c70/attachment.bin>

More information about the cfe-commits mailing list