IntelPython / sdc

Numba extension for compiling Pandas data frames, Intel® Scalable Dataframe Compiler
https://intelpython.github.io/sdc-doc/
BSD 2-Clause "Simplified" License
646 stars 62 forks source link

Fix segfault in NRT_dealloc for str_arr getitem #955

Closed kozlov-alexey closed 3 years ago

kozlov-alexey commented 3 years ago

Motivation: legacy SDC implementation copied Numba internals (MemInfo struct and API functions), which if changed on the Numba side (as it's done in IntelPython/Numba where external_allocator is added) may cause segfaults. This PR removes duplication of Numba internals and moves hstr extension to NRT API functions.

Note: numba now will be build dependency for sdc package.