Skip to content

Conversation

@sir-sigurd
Copy link
Member

@sir-sigurd sir-sigurd commented Apr 13, 2017

https://code.djangoproject.com/ticket/28024
Benchmark:
python -mtimeit -s "from django.contrib.gis.geos import LineString" "LineString([(x, x) for x in range(1000)])"
31.4 msec => 13.3 msec per loop

@timgraham timgraham merged commit 6d5bb6a into django:master Apr 13, 2017
@sir-sigurd sir-sigurd deleted the coord-seq-optimization-linestring branch April 13, 2017 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants