`PyArray_Resize` requires the GIL as it can raise a Python exception. If it's faster, than that's only because calling a Python function does a lookup for the method name.