Return static strings if possible for fb_serialize map keys
commit6c941fe74fc56bd620dbaabd3538af325f7fc9b1
authorJoseph Griego <jgriego@fb.com>
Fri, 2 Aug 2019 15:46:29 +0000 (2 08:46 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 2 Aug 2019 15:49:58 +0000 (2 08:49 -0700)
treeec3d6b56a7a361af28d85fc903ff046b3350d6a5
parentf8dd8f5a014eaae5edda27a6895afa65cfe4fc33
Return static strings if possible for fb_serialize map keys

Summary: Same change as w/ JSON-decode; this one was tricky because this serialization format is used to feed into apc_prime.so

Differential Revision: D15392988

fbshipit-source-id: a923305408c1e62daae3ea8c0dd8a4a63eefa528
hphp/runtime/ext/fb/VariantController.h
hphp/runtime/ext/fb/ext_fb.cpp