Opened 6 years ago

Closed 6 years ago

#3972 closed patch (fixed)

Disable asserts in non-debug builds

Reported by: komzpa Owned by: komzpa
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc:

Description

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

Change History (1)

comment:1 by komzpa, 6 years ago

Resolution: fixed
Status: assignedclosed

In 16223:

Disable asserts in non-debug builds

Enable both debug and non-debug builds on travis.

Closes #3972
Closes https://github.com/postgis/postgis/pull/185

Note: See TracTickets for help on using tickets.