Store stack in a Vec
commita915710b5d759067bb9ea1a262ce325ca0477c25
authorJake Bailey <jakebailey@fb.com>
Thu, 1 Sep 2022 01:50:14 +0000 (31 18:50 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 1 Sep 2022 01:50:14 +0000 (31 18:50 -0700)
tree9b3b027f156157c7d5b94a9ded1ea394f29391a5
parentf05026f7da87ce1238a96a2f330541823b6d7cdb
Store stack in a Vec

Summary: Use a Vec to store the stack of items being serialized rather than manually allocating, growing, and freeing.

Reviewed By: shayne-fletcher

Differential Revision: D39141483

fbshipit-source-id: bb557b52fd327f63014f54772fe76f3bcf935871
hphp/hack/src/ocamlrep_marshal/ser.rs