Deserialize lists and maps as v/darray
commit4046a3e581415951cc0e5820216fd2ffd69790b5
authorKevin Viratyosin <viratyosin@fb.com>
Tue, 25 Jun 2019 18:34:43 +0000 (25 11:34 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 25 Jun 2019 18:47:17 +0000 (25 11:47 -0700)
tree15a09dbde7ce02679c2af81c2e5568d720ec634c
parent8c6eae787acb2fa63f9478ec3c621e5e3fe3477d
Deserialize lists and maps as v/darray

Summary: These thrift read builtins were a large source of plain arrays in www. This diff changes the interpretation of lists, maps, and sets to be varrays, darrays, and darrays respectively instead of always plain arrays.

Reviewed By: billf

Differential Revision: D15934561

fbshipit-source-id: c9fbe3db5daaf2efc583950ed4052a9cb57841a3
hphp/runtime/ext/thrift/binary.cpp
hphp/runtime/ext/thrift/compact.cpp
hphp/runtime/ext/thrift/util.h
hphp/test/slow/hack_arr_compat/thrift_map_2.php
hphp/test/slow/hack_arr_compat/thrift_map_2.php.expect