cache ocamlvalue for relative_path
commit80f6f46342b771cc3d279524b1d4e21bee3c6dac
authorSteve Cao <shiqicao@fb.com>
Fri, 18 Oct 2019 23:19:32 +0000 (18 16:19 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 18 Oct 2019 23:21:57 +0000 (18 16:21 -0700)
treefe04ac398ec95f0f6deaf8f67043070bcbf5c128
parent0c174aa808ecb62e6a131b3533002422966d8d58
cache ocamlvalue for relative_path

Summary: most relative_path data are same, so we can use the same cache trick implemented for `PositionedTokemImpl`

Differential Revision: D17772800

fbshipit-source-id: e861c0f4d3db767c6859e08e3fbc8846c97efa89
hphp/hack/Cargo.lock
hphp/hack/src/oxidized/manual/relative_path.rs
hphp/hack/src/parser/rust_parser_ffi.rs
hphp/hack/src/parser/rust_to_ocaml.rs
hphp/hack/src/utils/ocamlpool_rust/Cargo.toml
hphp/hack/src/utils/ocamlpool_rust/ocamlvalue.rs
hphp/hack/src/utils/ocamlpool_rust/utils.rs