检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国科学技术信息研究所,北京100038 [2]北京掌上通网络技术有限公司,北京100083
出 处:《微计算机应用》2009年第12期67-75,共9页Microcomputer Applications
摘 要:内存分配已经是一个古老的话题,但是缺省的内存分配器由于对内存使用需求的缺失,尤其是在C++这个小对象繁多的环境,缺省的new操作符显得有些力不从心。文章从对内存使用需求入手,剖析内存需求不同时,不同的优化策略。并针对内存归还的时机和小对象这两种情况,结合new和delete操作符的特点给出了相应的优化算法,提升了内存分配和归还的效率,简化了对现有系统的性能优化。Memory allocation is an old topic, but the default memory allocator for memory usage due to lack of demand, especially in C + + , this small object of the target environment, the default new operator seemed unable to. In this paper, the demand from the start of the memory usage, memory requirements analysis is not at the same time, different optimization strategies. And the timing for the return of memory and small object both cases, a combination of new and delete operators are given the characteristics of the optimization algorithm to improve the memory efficiency of distribution and return of.
分 类 号:TP312.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28