联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 High Performance Solution Ini File Class - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    All is from my previous project, which saves the data of the coordinate, text contents, color, font name, and size information of nearly 30000 dialog controls (listbox, static, edit, and so on) distributed on more than 100 windows. So, the total size of these controls will be at least 10*n Mega bytes and it's not suitable to use the Windows Registry. You see, using a native Ini file Win32 API is terribly impractical because the performance is too low. So, I designed and implemented the following Ini class using MMF; with the pre-allocated buffer and section header map technology, it should be the ultimate solution to the 5-50 Mega byte level Ini File reading and writing situations.


    通过MMF高效解决Ini文件类

    全部都来自我的原来的工程,它保存了分布在多于3000个窗口的对话框控件(列表框,静态文本框,编辑框等等)所对应的数据,文本内容,颜色,字体名,字体大小的信息。因此这些控制的总大小将至少是10*n兆字节并且它不适合使用Windows注册。看一下,使用一个当地的Ini文件Win32 API是多么的不合实际,因为它的效率是如此之低。因此,我用MMF设计并且实现了下列Ini类;通过预先分派的缓冲和区段表头映像技术,它应该是对5-50兆字节层次的读写Ini文件的最终解决办法。
    来源: http://www.codeguru.com/data-misc/HighPerformanceIni.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    HighPerformanceIni  1.0  2004-04-18 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/data-misc/HighPerformanceIni.zip

      » 合 作 伙 伴