-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
PERF: use uniqueness_check from monotonic check when possible #14270
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
Conversation
can you give this a check (ideally you can perf test this as well)...... |
c2c4927
to
9ced5d5
Compare
Is this big enough to warrant a second release candidate? (you have a better understanding for how big a change this is). |
@TomAugspurger well our entire test suite passes, so I don't think this is a big deal as not changing functionaility (this is almost a bug fix). |
@@ -1404,6 +1404,7 @@ Performance Improvements | |||
- Improved performance of datetime string parsing in ``DatetimeIndex`` (:issue:`13692`) | |||
- Improved performance of hashing ``Period`` (:issue:`12817`) | |||
- Improved performance of ``factorize`` of datetime with timezone (:issue:`13750`) | |||
- Improved performance of of not eagerly creating indexing hashtables on larges Indexes (:issue:`14266`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sp, I know!
some nice perf improvements as well (note these are backwards, in that a7469rc9 is master)
|
@ssanderson if you could test out would be great. |
Current coverage is 85.25% (diff: 100%)@@ master #14270 diff @@
==========================================
Files 140 140
Lines 50568 50568
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 43112 43111 -1
- Misses 7456 7457 +1
Partials 0 0
|
@jreback I'll take a look shortly. |
This change looks good to me, not sure if I can easily test zipline with this though. Running the memory usage example from the issue shows the memory usage pretty constant across the get_loc call. Thanks for the really quick fix! |
I'm installing this into a fresh zipline build to see if it runs (there may On Wed, Sep 21, 2016 at 1:55 PM, Joe Jevnik [email protected]
|
LGTM. Thanks for the quick turnaround @jreback. |
closes #14266