[postgis-devel] Avoid unnecessary memory copy in gserialized_datum_get_box2df_p

Paul Ramsey pramsey at cleverelephant.ca
Wed Oct 2 07:23:49 PDT 2013


Sounds good to me then, 
P

-- 
Paul Ramsey
http://cleverelephant.ca
http://postgis.net


On Wednesday, October 2, 2013 at 8:19 AM, Sandro Santilli wrote:

> On Wed, Oct 02, 2013 at 07:33:27AM -0600, Paul Ramsey wrote:
> > The reason I sliced was because we were seeing big pain for larger objects, and also because it seemed to make sense to read just a little piece rather than the whole geometry, particularly if there was a decompress step, or the whole object would have to be read into memory. What's going to happen to us for larger geometries? 
> 
> 
> 
> Reading the patch, we'd still be only slicing larger geometries.
> The patch basically avoids a palloc for the small geometries case.
> 
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org (mailto:postgis-devel at lists.osgeo.org)
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel






More information about the postgis-devel mailing list