s-webber / projog

Prolog programming for the Java platform.
Apache License 2.0
37 stars 9 forks source link

Remove isSpyPointsEnabled() from ProjogProperties #182

Closed s-webber closed 4 years ago

s-webber commented 4 years ago

ProjogProperties has a isSpyPointsEnabled() method which is used to specify whether spy points (used for the tracing of queries) is enabled. This method can be removed.

Method was added as a possible performance improvement (on basis that performance could be improved when spy points were not required) but impact is negligible. In order to simplify the code remove this option and instead always enable spy points.