首页 | 本学科首页   官方微博 | 高级检索  
     

C++中一种高性能动态数组的实现方法
引用本文:孙剑,王玉亭.C++中一种高性能动态数组的实现方法[J].现代计算机,2007(4):102-104,112.
作者姓名:孙剑  王玉亭
作者单位:聊城大学计算机学院,聊城252000
摘    要:与静态数组动相比,动态数组的特点在于它可以根据程序运行时状态的不同而随时改变容量,因此动态数组在程序设计中的使用十分广泛.介绍一个高性能动态数组的实现方法,实验结果表明,该方法实现的动态数组可以大幅度的提高程序的效率.

关 键 词:动态数组  类模板
修稿时间:2007-03-02

Implement Method of High Performance Dynamic Array In C++
SUN Jian,WANG Yu-ting.Implement Method of High Performance Dynamic Array In C++[J].Modem Computer,2007(4):102-104,112.
Authors:SUN Jian  WANG Yu-ting
Affiliation:College of Computer, Liaoeheng University, Liaocheng 252000 China
Abstract:Compares with static array,dynamic array can change its capacity at any moment based on program running state. Discusses an implement method of the high performance dynamic array in C++ the experimental result shows that this method can promote the efficiency of the program.
Keywords:Placement New
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号