首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Exploring caching for efficient collection operations
【24h】

Exploring caching for efficient collection operations

机译:探索高效收集操作的缓存

获取原文

摘要

Many useful programs operate on collection types. Extensive libraries are available in many programming languages, such as the C++ Standard Template Library, which make programming with collections convenient. Extending programming languages to provide collection queries as first class constructs in the language would not only allow programmers to write queries explicitly in their programs but it would also allow compilers to leverage the wealth of experience available from the database domain to optimize such queries. This paper describes an approach to reducing the run time of programs involving explicit collection queries by leveraging a cache to store previously computed results. We propose caching the results of join (sub)queries which allows queries that miss the cache entirely to be answered partially from the cache thereby improving the query execution time. We also describe an effective cache policy to determine which join (sub)queries to cache. The cache is maintained incrementally, when the underlying collections change, and use of the cache space is optimized by a cache replacement policy.
机译:许多有用的程序在集合类型上运行。广泛的库有许多编程语言,例如C ++标准模板库,它使编程与集合方便。扩展编程语言以将集合查询提供作为语言中的第一类构造,不仅允许程序员在其程序中明确地编写查询,但它还允许编译器利用数据库域中获得的丰富经验来优化此类查询。本文介绍了一种通过利用缓存来减少涉及显式收集查询的程序运行时的方法来存储先前计算的结果。我们建议缓存加入(子)查询的结果,该查询允许完全根据高速缓存答案的查询,从而提高查询执行时间。我们还描述了一个有效的缓存策略,以确定要缓存的连接(子)查询。当基础集合更改时,缓存逐步维护,并且通过缓存替换策略优化缓存空间的使用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号