12 ms·
Awkward is a complement to Numba, not an alternative. Awkward is the container for data. Like Numpy, it supports storing data as low-level arrays rather than e
by stevesimmons 5y ago
Awkward is a complement to Numba, not an alternative.
Awkward is the container for data. Like Numpy, it supports storing data as low-level arrays rather than everything being a "boxed" Python object. While Numpy is for regular arrays, Awkward adds irregular arrays of JSON-like objects.
Numba is the computation layer. Its JIT compiler builds faster code by specialising for specific concrete data types, rather than Python allowing everything to be dynamically changed.
If Numba code is fed arrays of Numpy/Awkward data, your computations get much faster.
So they are complementary, not alternatives.