expose Vector->reserve(size) to php space
commit8b80373f178b4bdba515d65f88461c1ff9217a57
authorbill fumerola <bill@fb.com>
Mon, 10 Jun 2013 18:25:49 +0000 (10 11:25 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 18 Jun 2013 00:31:33 +0000 (17 17:31 -0700)
treef36106c53f345d2ded61635f7b2c2458ecb73c53
parent4049e79f1856e0a32e0e2a255464fb9c4b0fb37d
expose Vector->reserve(size) to php space

example usage: genv() takes a Vector of Awaitable and creates a
Vector of WaitHandles. resize() requires a default value, reserve allows us to hint proper allocation.
hphp/runtime/ext/ext_collections.cpp
hphp/runtime/ext/ext_collections.h
hphp/system/idl/collections.idl.json