首页> 外国专利> Techniques for more efficient generation of XML events from XML data sources

Techniques for more efficient generation of XML events from XML data sources

机译:从XML数据源更有效地生成XML事件的技术

摘要

One may increase the efficiency of an XML event-generating process by reducing the number of requests to allocate or deallocate system memory. Such reduction may occur as the result of pre-allocating a memory chunk of sufficient size to contain all of the memory buffers required by a particular event-generating process. Instead of allocating new memory chunks for new memory buffers, an application may store any required buffers within the pre-allocated memory chunk. A sufficient memory size may be estimated by performing the event-generating process on a training set of XML documents. Also, an application may re-use buffers during the process or between different iterations of the process, thus avoiding the need to deallocate and reallocate memory that is essentially being used for the same purpose.
机译:通过减少分配或取消分配系统内存的请求数,可以提高XML事件生成过程的效率。这种减少可能是由于预先分配了足够大小的内存块以包含特定事件生成过程所需的所有内存缓冲区的结果而发生的。应用程序可以在预分配的内存块中存储任何所需的缓冲区,而不是为新的内存缓冲区分配新的内存块。通过对XML文档的训练集执行事件生成过程,可以估计足够的内存大小。同样,应用程序可以在过程中或过程的不同迭代之间重用缓冲区,从而避免需要重新分配和重新分配本质上用于同一目的的内存。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号