[PATCH] D133658: [Support] Optimize StringRef::count,find.

Tatsuyuki Ishi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 11 00:22:50 PDT 2022


ishitatsuyuki added a comment.

A note that the N=2 search code is mostly mirrored from glibc; I believe it's short enough to not cause copyright issues but please let me know if I should be more defensive here.

https://codebrowser.dev/glibc/glibc/string/memmem.c.html#70


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133658



More information about the llvm-commits mailing list