[PATCH] D43892: [YAML] speed up isNumber by doing regex matching less often

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 10:30:57 PST 2018


labath added a comment.

That regex is relatively simple. If we're worried about performance, maybe we should just roll it out into a series of find_first_(not_)of/consume_front/... statements


Repository:
  rL LLVM

https://reviews.llvm.org/D43892





More information about the llvm-commits mailing list