lightbringer/clipper-java

Logger statements takes a lot of time to run.

dmac000 opened this issue · 0 comments

The statement in DefaultClipper.java:

LOGGER.finest( ToFront + " " + pt + " " + op.getPt() );

can takes 30% of the execution time, even with logging disabled, as it's calling Point.toString() each time a point is added.