arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2001.06307cs.MShep-ex
收藏

Python、C++和Numba中的尴尬数组

Awkward Arrays in Python, C++, and Numba

Jim Pivarski, Peter Elmer, David Lange

摘要:

自2018年9月以来,Awkward Array库一直是Python中物理分析的重要工具。然而,一些接口和实现问题在Awkward Array的第一年就被提出来,这些问题要求在C++和Numba中重新实现。我们描述了这些问题,新的架构,并提出了一些新的界面将如何看用户的例子。特别重要的是内核函数与数据结构管理的分离,这允许C++实现和Numba实现共享内核函数,以及将面向记录的数据转换为列式Awkward Arrays的算法。

英文摘要:

The Awkward Array library has been an important tool for physics analysis in Python since September 2018. However, some interface and implementation issues have been raised in Awkward Array's first year that argue for a reimplementation in C++ and Numba. We describe those issues, the new architecture, and present some examples of how the new interface will look to users. Of particular importance is the separation of kernel functions from data structure management, which allows a C++ implementation and a Numba implementation to share kernel functions, and the algorithm that transforms record-oriented data into columnar Awkward Arrays.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑