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

Vector容器内存增长机制研究
引用本文:张云峰,赵逸智.Vector容器内存增长机制研究[J].华北航天工业学院学报,2011(6):13-15.
作者姓名:张云峰  赵逸智
作者单位:[1]北华航天工业学院计算机科学与工程系,河北廊坊065000 [2]北华航天工业学院成人教育学院,河北廊坊065000
基金项目:北华航天工业学院基金项目(KY-2009-12); 廊坊市科技局(2010011003)
摘    要:当在内存中存储数据时,常常需要在运行时调整内存的大小,vector提供了一个安全、简易并且自动化的内存分配技术。基于时间效率、空间利用率方面的考虑,提出了几种修改内存增长机制的方法,并在此基础上,结合实际应用进行分析,从时间效率和空间利用率两方面对不同内存增长机制进行了比较,得出在实际应用中根据实际情况调整内存增长机制的方法。

关 键 词:内存增长  空间  时间  效率

Research on Growth Mechanism of Vector Container Memory
ZHANG Yun-feng,ZHAO Yi-zhi.Research on Growth Mechanism of Vector Container Memory[J].Journal of North China Institute of Astronautic Engineering,2011(6):13-15.
Authors:ZHANG Yun-feng  ZHAO Yi-zhi
Institution:1.Computer Science and Engineering Department.,North China Institute of Aerospace Engineering,Langfang 065000,China;2.Continuing Education College,North China Institute of Aerospace Engineering,Langfang065000,China)
Abstract:Memory size is often modified in operation of storing data.Vector provides a safe,simple and automatic memory allocation technique.Regarding time efficiency and space utilization,the paper suggests several ways to modify the growth mechanism of memory.Based on practical application,the paper compares the different growth mechanisms of memory on time efficiency and space utilization,and develops some approaches of adjusting the memory growth mechanism in actual operation.
Keywords:memory growth  space  time  efficiency
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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