Problem
Currently, when performing large or computationally expensive array operations, there is no indication that the operation is still running.
For users working with large datasets, this can make the application appear unresponsive, especially during long-running computations. While the operation may still be executing successfully, users have no feedback about its progress.
Proposed Solution
Introduce an optional progress indicator for long-running array operations.
Possible approaches include:
- Displaying a progress bar or percentage when supported.
- Providing a callback or hook that reports progress.
- Allowing users to enable or disable progress reporting to avoid unnecessary overhead.
This feature would improve the user experience without changing the existing API for users who do not need progress reporting.
Alternatives Considered
An alternative is for users to manually measure execution time or log messages before and after an operation.
However, these approaches do not provide real-time feedback during execution. A built-in optional progress indicator would offer a more user-friendly and informative experience.
Problem
Currently, when performing large or computationally expensive array operations, there is no indication that the operation is still running.
For users working with large datasets, this can make the application appear unresponsive, especially during long-running computations. While the operation may still be executing successfully, users have no feedback about its progress.
Proposed Solution
Introduce an optional progress indicator for long-running array operations.
Possible approaches include:
This feature would improve the user experience without changing the existing API for users who do not need progress reporting.
Alternatives Considered
An alternative is for users to manually measure execution time or log messages before and after an operation.
However, these approaches do not provide real-time feedback during execution. A built-in optional progress indicator would offer a more user-friendly and informative experience.