[C++] Move Arange utility function to an Arrow C++ utility function
Open
Component: C++
Component: Python
good-first-issue
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the enhancement requested
On:
- https://github.com/apache/arrow/pull/46778
We introduced a PyArrow Arange utility function to ranges, similar to Python's range or numpy.arange.
This was done to fix a performance regression introduced earlier as numpy is optional and we were not using it anymore.
It was discussed on the PR to move the utility function to Arrow C++ as a possible improvement but due to the nature of the performance fix we didn't want to hold the fix.
This is to track that possible improvement.
### Component(s)
C++, Python
Contributor guide
Assessment
This issue has not been assessed yet.