[postgis-tickets] [PostGIS] #4264: Consider dropping pfree calls in liblwgeom
PostGIS
trac at osgeo.org
Mon Dec 3 02:06:09 PST 2018
#4264: Consider dropping pfree calls in liblwgeom
--------------------------+---------------------------
Reporter: Algunenano | Owner: Algunenano
Type: enhancement | Status: assigned
Priority: medium | Milestone: PostGIS 3.0.0
Component: postgis | Version: trunk
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by Algunenano):
> ST_ClusterKMeans is a thing to check (did it allocate in a loop?), also
ST_Subdivide may requre many intermediates.
An easy way out would be to change handlers in those functions (they are
both changing context too) and have pfree acting as it's acting now.
> Can we get a version of pg_free that just logs free() calls into some
array and then frees say on 1000th free?
I don't think that would be positive, it is the same as giving control to
Postgres with the added complexity of handing an intermediate step
ourselves.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4264#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list