会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Delphi代码 > 其他代码
扩展了Tlist和TStringList的功能
发表日期:2003-10-10 12:00:00文件大小:9070 下载次数:2235  

代码说明: The Delphi TList and TStringList classes are an essential part of the Delphi programmer's toolkit but they have a couple of limitations. One is their severely restricted capacity in Delphi 1. Another stems from their tendency to fragment the heap, eventually leading to poor performance. The TQList and TQStringList classes hold up to a quarter of a billion items (memory permitting!) and do so with much reduced memory fragmentation. Generally operations that cause the lists to grow are faster with QLists. The trade off is with the access time. TQList is about 4x slower than TList and TQStringList about 2X slower than TStringLIst. Once, however, the extra overhead of actually manipulating the data you have stored is included the difference is less signficant. 扩展了Tlist和TStringList的功能

立即下载

返回顶部】 【打印本页】 【关闭窗口

关于我们 / 给我留言 / 版权举报 / 意见建议 / 网站编程QQ群   
Copyright ©2003- 2024 Lihuasoft.net webmaster(at)lihuasoft.net 加载时间 0.00266