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

Removed unused **kwargs from GEOSFuncFactory.__call__(). #11947

Merged
merged 1 commit into from Jan 22, 2020

Conversation

sir-sigurd
Copy link
Member

This slightly improves performance:

Before:

$ python -m pyperf timeit -s 'from django.contrib.gis.geos import Point; p = Point()' "p.empty"  --duplicate=100
.....................
Mean +- std dev: 2.00 us +- 0.04 us

After:

$ python -m pyperf timeit -s 'from django.contrib.gis.geos import Point; p = Point()' "p.empty"  --duplicate=100
.....................
Mean +- std dev: 1.94 us +- 0.03 us

@sir-sigurd sir-sigurd merged commit 486a8da into django:master Jan 22, 2020
@sir-sigurd sir-sigurd deleted the geos-func-factory-call-kwargs branch January 22, 2020 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants