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

Try to simplify the numba extension a little #324

Merged
merged 1 commit into from
Mar 10, 2020

Conversation

eric-wieser
Copy link
Contributor

Rather than using contextlib.ExitStack to manage our state, this uses LLVM basic blocks instead.

cc @stuartarchibald


Unfortunately this didn't appear to improve compile-time performance.

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Feb 11, 2020

This pull request introduces 1 alert when merging fc55af8 into eb8d41e - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@hameerabbasi
Copy link
Collaborator

CI fails with: NameError: name 'lower_builtin' is not defined.

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Mar 2, 2020

This pull request introduces 1 alert when merging 53b0e2a into 8c1193c - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@hameerabbasi
Copy link
Collaborator

Is this ready for review?

@codecov
Copy link

codecov bot commented Mar 3, 2020

Codecov Report

Merging #324 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   93.98%   94.01%   +0.03%     
==========================================
  Files          19       19              
  Lines        2327     2340      +13     
==========================================
+ Hits         2187     2200      +13     
  Misses        140      140

Rather than using `contextlib.ExitStack` to manage our state, this uses LLVM basic blocks instead.
@eric-wieser
Copy link
Contributor Author

eric-wieser commented Mar 3, 2020

Is this ready for review?

Yeah, I think so. Hopefully CI passes now. There are some open questions about NativeValue.cleanup that I was hoping to resolve here, but I'm realizing that that opens a can of worms that numba needs to look at - so I'll leave that to a follow-up.

@eric-wieser eric-wieser marked this pull request as ready for review March 3, 2020 10:40
@hameerabbasi
Copy link
Collaborator

Pinging @stuartarchibald for a review.

@hameerabbasi
Copy link
Collaborator

I'll wait a day or two for review before merging.

@hameerabbasi
Copy link
Collaborator

Whoops, forgot about this one. Thanks, @eric-wieser!

@hameerabbasi hameerabbasi merged commit c94927c into pydata:master Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants