[libc-commits] [PATCH] D85103: [libc] Add strspn implementation.

Chris Gyurgyik via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Aug 4 04:25:58 PDT 2020


cgyurgyik added a comment.

In D85103#2192569 <https://reviews.llvm.org/D85103#2192569>, @abrachet wrote:

> FWIW, I think in most real world scenarios the O(N*M) approach would be faster. Granted I don't know what those scenarios are I had never heard of this function, I have no idea where this is useful.

Its hard for me to argue this claim one way or another without an appropriate data set to benchmark with. Therefore, I chose to rely solely on complexity for now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85103



More information about the libc-commits mailing list