make GEOSGeometry.json use OGRGeometry.json again (for performance reasons)
GEOSGeometry.json
was using OGRGeometry.json
prior to 1.9. That was changed in #25141. Now GDAL is required (#26753) and I believe we should restore previous GEOSGeometry.json
implementation for performance reasons:
In [67]: ls = LineString([(x, x) for x in range(1000)])
In [68]: %timeit ls.json
10 loops, best of 3: 42.6 ms per loop
In [69]: %timeit ls.ogr.json
100 loops, best of 3: 3.75 ms per loop
Change History
(7)
Owner: |
changed from nobody to Sergey Fedoseev
|
Status: |
new → assigned
|
Description: |
modified (diff)
|
Triage Stage: |
Unreviewed → Accepted
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR