首页> 外文OA文献 >Comprehensive performance analysis of C++ smart pointers
【2h】

Comprehensive performance analysis of C++ smart pointers

机译:C ++智能指针的综合性能分析

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Smart pointers play an important role in bypassing memory leaks in C++. Since C++11 standard the smart pointers have become widely-used tools because they let the programmers not to deal with memory deallocation. However, abstraction penalty occurs because of this convenience. Overhead is related to runtime, memory usage and compilation time. There are many different smart pointers in the standard library. However, the performance difference between the smart pointers and raw pointers is not measured before. This paper presents an analysis of their effectiveness. An alternative approach to the C++17’s optional construct is searched for.
机译:智能指针在绕过C ++中的内存泄漏时发挥着重要作用。由于C ++ 11标准,智能指针已成为广泛使用的工具,因为它们让程序员不处理内存释放。但是,由于这种便利性,发生抽象惩罚。开销与运行时,内存使用和编译时间有关。标准库中有许多不同的智能指针。但是,智能指针和原始指针之间的性能差异未以前衡量。本文提出了对其有效性的分析。搜索C ++ 17可选构造的替代方法。

著录项

  • 作者

    Bence Babati; Norbert Pataki;

  • 作者单位
  • 年度 2017
  • 总页数
  • 原文格式 PDF
  • 正文语种 hun
  • 中图分类

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号