-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
In this line...
| return row.tobytes() if row else b"" |
the entire MVT response from PostGIS is converted to a bytes object. That means it has to be in memory twice, once as a memoryview and once as a bytes. I'm wondering if this is necessary, since Django performs the same conversion. If the conversion were not there, a caller could intercept the memoryview and make a StreamingHttpResponse out of it, so that it only needs to be in memory once.
Metadata
Metadata
Assignees
Labels
No labels