-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: fix regression in tz_convert_from_utc #38074
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
Benchmark after:
Benchmark on master:
|
lgtm ping on green. |
it isn't obvious to me that the copy is unnecessary |
The private method (where the copy is removed), is only called from So I think removing the copy in the private method is fine (it was also like this before) |
makes sense, thanks |
thanks @lidavidm |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Get rid of an unnecessary copy.