Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance change when using PIXIE with typed.Dict #40

Open
dlee992 opened this issue Aug 5, 2024 · 1 comment
Open

performance change when using PIXIE with typed.Dict #40

dlee992 opened this issue Aug 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@dlee992
Copy link

dlee992 commented Aug 5, 2024

This is a wonderful feature! Thanks for your effort!

I am curious if using PIXIE to "compile" the C implementation of typed.Dict to LLVM bitcode (?) and running some Dict benchmark, will the speed be much faster than current Numba way to call the C functions via ctypes under the hood?

Maybe this is not a correct question, since I don't know much about PIXIE for now.

@stuartarchibald
Copy link
Contributor

I guess this question comes from things I've alluded to in Numba public meetings with regards to integrating PIXIE library support into Numba? The idea is that a PIXIE compiled variant of Numba's typed container libraries would be inlinable as bitcode by Numba's JIT compiler, this removing the current call overhead associated with calling an opaque function and permitting optimisation across the call boundary. Hopefully code using these containers would be faster as a result.

@stuartarchibald stuartarchibald added the question Further information is requested label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants