windows API中VirtualAlloc()函数有个的名为flAllocation
Type的参数,MSDN对其取值为MEM_RESERVE时函数的行为描述为“Reserves a range of the process’s
virtual address space without allocating any actual physical storage in
memory or in the paging file on disk.You can commit reserved pages in
subsequent calls to the VirtualAlloc
function.”。请问理论上如下哪个数据结构容器的实现方法可利用本函数的上述行为来提高分摊运行效率同时尽量减少物理内存的浪费?( )
Vector
List
RB-tree Set
Hash Map