Minor optimization for substr
commita5d92afc0e87458023d994e8a3fc21cb011ebc9d
authorMark Williams <mwilliams@fb.com>
Wed, 1 Mar 2017 16:28:37 +0000 (1 08:28 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 1 Mar 2017 16:40:08 +0000 (1 08:40 -0800)
tree090c817cbb0d251b8f82ede5e941c9d5ce608708
parentea114ae8cce1f6884a774c93d01775cd323a02cc
Minor optimization for substr

Summary: Just something I noticed...

Reviewed By: mxw

Differential Revision: D4631430

fbshipit-source-id: 5e279de49f6ca428129c91261b7cfdca4e4c89b6
hphp/runtime/base/type-string.cpp