节点文献
动态对象数组的两种C++实现及其性能分析
Two implementations of dynamic object array and their performance analysis
【摘要】 动态数组在C ++程序设计中有广泛的应用 ,许多实现包括VC ++6 0中附带的vector(向量 )都只是动态内建类型数组的实现。由有显式构造 /析构函数的对象元素 (通常含有指针成员数据 )构成的动态对象数组的高效实现则不是很容易 ,在深入分析C/C ++内存操作的基础上 ,给出了在VC ++6 0下动态对象数组的两种实现 ,并就构造 /析构函数被调用的总次数等参数做了性能分析
【Abstract】 On the basis of deep analysis of the memory operations in C/ C++ , two implementations of dynamic object array under VC++ 6 0 and the performance analysis of some parameters such as the total times of calling constructor/destructor are made.
- 【文献出处】 成都信息工程学院学报 ,Journal of Chengdu University of Information Technology , 编辑部邮箱 ,2004年02期
- 【分类号】TP312
- 【被引频次】3
- 【下载频次】100