[postgis-tickets] [PostGIS] #3972: Disable asserts in non-debug builds

PostGIS trac at osgeo.org
Fri Jan 5 06:46:43 PST 2018


#3972: Disable asserts in non-debug builds
---------------------+---------------------------
 Reporter:  komzpa   |      Owner:  komzpa
     Type:  patch    |     Status:  assigned
 Priority:  medium   |  Milestone:  PostGIS 2.5.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 It's common practice to ship code with asserts disabled leaving them only
 for development. This squeezes out some more performance (in KMeans and
 GeometricMedian particularly).

 Expected runtime errors should be done via checks, error reporting and
 other mechanisms anyway.

 https://github.com/postgis/postgis/pull/185

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3972>
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