Create Autoload map from repo
Summary:
- I need to look into why the tests fails but I want to make sure I'm going in the right direction
- When HHVM starts up and running in repo mode I check a config and if that config is set to true then I build an autoload map from the repo at start up.
- The autoload map contains Map<symbol, unitSn> and then we go from unitSn to path and then we load that path which looks up the unitSn from the path.
- That was the easiest way to implement it without changing to much.
- A followup optimization would be to never go to path. Just get the unitSn and then load it.
Reviewed By: jano, jthemphill
Differential Revision:
D15329666
fbshipit-source-id:
c86b981f5ef6e4091a7d12013cc77aa87db476d8