论文标题

Python,C ++和Numba的尴尬阵列

Awkward Arrays in Python, C++, and Numba

论文作者

Pivarski, Jim, Elmer, Peter, Lange, David

论文摘要

自2018年9月以来,笨拙的阵列库一直是Python物理分析的重要工具。但是,在尴尬的阵列的第一年中已经提出了一些界面和实现问题,该问题主张在C ++和Numba中重新实现。我们描述了这些问题,新的体系结构,并提供了一些新界面将如何向用户使用的示例。尤其重要的是,内核函数与数据结构管理的分离,该函数允许C ++实现和NUMBA实现共享内核函数,以及将导向记录的数据转换为柱状尴尬阵列的算法。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源