Skip to content

PERF: avoid duplicate is_single_block check #35034

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 2 commits into from
Jun 29, 2020

Conversation

jbrockmendel
Copy link
Member

Small bump, make up some of the ground lost in #34999.

In [2]: df = pd.DataFrame([1])                                                                                                                                                                                     

In [3]: %timeit df.values                                                                                                                                                                                          
3.65 µs ± 75.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)  # <-- PR
3.84 µs ± 139 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)  # <-- master

@mroeschke mroeschke added this to the 1.1 milestone Jun 29, 2020
@jreback jreback merged commit 1706d83 into pandas-dev:master Jun 29, 2020
@jbrockmendel jbrockmendel deleted the cln-follow branch June 29, 2020 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants