Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Conversation

@kozlov-alexey
Copy link
Contributor

@kozlov-alexey kozlov-alexey commented Apr 12, 2021

Motivation: keep up with latest Numba release.

Note: commit 2017e6c is actually just a workaround for numba=0.53.1 regressions and probably should be reverted once referred issues are fixed.

@kozlov-alexey
Copy link
Contributor Author

kozlov-alexey commented May 12, 2021

Regarding possible performance impact for numpy_like.astype() from numeric arrays to StringArrayType. There's actually no impact at all, since for some reason iterating over StringArrayType with prange doesn't scale (should be investigated), so testing conversion from 5 * 10 ** 6 of int64 to string, SDC code is 1.5x times faster than pandas, but doesn't scale (i.e. with and without this change):

n_threads 1 2 4 8 16
tested 1.769644 1.77148 1.768676 1.768381 1.769647
reference 2.677486 2.624062 2.624959 2.622924 2.625067
ratio 1.513008 1.481282 1.484138 1.483235 1.483385

@kozlov-alexey
Copy link
Contributor Author

Numba=0.53.1 regressions mentioned above are: numba/numba#6969 and numba/numba#6960

@kozlov-alexey kozlov-alexey changed the title [WIP] Moving to numba=0.53 Moving to numba=0.53.1 May 12, 2021
@kozlov-alexey kozlov-alexey mentioned this pull request May 13, 2021
@kozlov-alexey kozlov-alexey merged commit 5ea7a17 into IntelPython:master May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants