Skip to content

PERF: make _Tick into a cdef class #33979

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

Merged
merged 1 commit into from
May 5, 2020

Conversation

jbrockmendel
Copy link
Member

The actual "PERF" part is that in the follow-up we can cimport is_tick_object which will be appreciably faster than the getattr(other, "_typ", None) == "dateoffset" and hasattr(other, "delta") checks we now do

@jreback jreback added Frequency DateOffsets Performance Memory or execution speed performance labels May 5, 2020
@jreback jreback added this to the 1.1 milestone May 5, 2020
@jreback jreback merged commit c557ab5 into pandas-dev:master May 5, 2020
@jreback
Copy link
Contributor

jreback commented May 5, 2020

also assume we have sufficient benchmarks on this (e.g. how you found this at some point)

@jbrockmendel jbrockmendel deleted the perf-is_date_offset branch May 5, 2020 16:57
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request May 6, 2020
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants