Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

0.8.0

Compare
Choose a tag to compare
@jpivarski jpivarski released this 29 Jan 19:52
· 784 commits to master since this release

Introduced awkward-numba, a separately installable package to accelerate some methods with Numba's just in time compilation.

  • Running pip install awkward-numba adds a package inside awkward: import awkward.numba.
  • Arrays in awkward.numba.* behave just like arrays in awkward.* except that some methods are faster and require Numba to be installed.
  • Reading persisted arrays with awkwardlib="awkward.numba" loads them in accelerated form.
  • Both unaccelerated and accelerated arrays can be used in the same process; the latter are a subclass of the former.

To do this, many central facilities from awkward.util have been moved into the classes themselves. For instance, the Numpy corresponding to a JaggedArray or a JaggedArrayNumba are now in JaggedArray.numpy and JaggedArrayNumba.numpy. This is to prepare the way for GPU extensions of awkward-array, in which JaggedArrayCUDA.numpy would actually be CuPy.

Soon, uproot-methods and uproot will depend on awkard 0.8.0 as a minimum version.