跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:1403.6602 (cs)
[提交于 2014年3月26日 (v1),最后修订于 2014年6月13日 (此版本, v2)]

标题:Pivot Sampling in Dual-Pivot Quicksort

作者:Markus E. Nebel, Sebastian Wild
查看论文《Pivot Sampling in Dual-Pivot Quicksort》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The new dual-pivot Quicksort by Vladimir Yaroslavskiy - used in Oracle's Java runtime library since version 7 - features intriguing asymmetries in its behavior. They were shown to cause a basic variant of this algorithm to use less comparisons than classic single-pivot Quicksort implementations. In this paper, we extend the analysis to the case where the two pivots are chosen as fixed order statistics of a random sample and give the precise leading term of the average number of comparisons, swaps and executed Java Bytecode instructions. It turns out that - unlike for classic Quicksort, where it is optimal to choose the pivot as median of the sample - the asymmetries in Yaroslavskiy's algorithm render pivots with a systematic skew more efficient than the symmetric choice. Moreover, the optimal skew heavily depends on the employed cost measure; most strikingly, abstract costs like the number of swaps and comparisons yield a very different result than counting Java Bytecode instructions, which can be assumed most closely related to actual running time.
评论: presented at AofA 2014 (http://www.aofa14.upmc.fr/)
主题: 数据结构与算法 (cs.DS); 概率论 (math.PR)
引用方式: arXiv:1403.6602 [cs.DS]
  (或者 arXiv:1403.6602v2 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.1403.6602

提交历史

来自:Sebastian Wild
[v1] 2014年3月26日 星期三 09:37:30 UTC
[v2] 2014年6月13日 星期五 08:44:20 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.PR
< 上一篇   |   下一篇 >
最新 | 近期 | 2014-06
切换浏览方式为:
cs
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站