Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #2081 (new enhancement)

Opened 10 years ago

Last modified 6 years ago

DEBUGPR and related macros always compiled

Reported by: jeckstei Owned by: wehart
Priority: minor Milestone: Acro [wish list]
Component: Acro Projects Version:
Keywords: Cc:
Subcomponent: Source Code


After the autoconfiscation event, the DEBUGPR and related macros are now always compiled, even when the acro is configured without debugging and with full optimization. There are some reasons why this might be desirable. There is a performance penalty, but it won't be noticeable in most ACRO applications, which spend most of their run time deep within LP solvers and the like. However, in PICO applications with very quickly computable bounds, the run-time penalty of constantly checking the print verbosity flag might be tangible. Therefore, I suggest we revisit this issue at some point in the future and add some kind of configure/compile flag that will cause DEBUGPR and its kin to be substituted by empty strings.


Change History

comment:1 Changed 10 years ago by wehart

  • severity changed from minor to enhancement

We don't know that we need to do this, so I'm making this an enhancement that we'll consider later.

Note: we can test the impact of this by configuring with the --disable-commonio option, which turns off the CommonIO mechanism and these macros.

comment:2 Changed 10 years ago by jeckstei

  • Priority changed from high to highest

comment:3 Changed 7 years ago by wehart

  • Subcomponent changed from Configuration and Building to Source Code
  • Version 1.0 deleted
  • Milestone set to acro 2.0

NOTE: this is related to UTILIB. Perhaps this should be tested there.

comment:4 Changed 7 years ago by jdsiiro

  • Priority changed from highest to minor
  • severity minor deleted

Converting all severities into priorities and deprecating the severity field.

comment:5 Changed 7 years ago by wehart

  • Milestone changed from acro 2.0 to acro 2.1


comment:6 Changed 7 years ago by wehart

  • Milestone acro 2.1 deleted

comment:7 Changed 6 years ago by jdsiiro

  • Milestone set to Acro [wish list]

Add a comment

Modify Ticket

Change Properties
<Author field>
as new

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.