Remove log options from the zinc Setup to fix performance issue
Review Request #2666 - Created Aug. 20, 2015 and submitted
|areitz, benjyw, fkorotkov, zundel|
Setupobject is used as a cache key for compiler instances, and it turns out that missing the cache for compiler instances causes a more than 2x slowdown. In this case, as soon as the filters were non-empty, the
Regexobject would fail to match (doesn't implement equals.)
- Remove log options from the Setup, since they are passed into the compile method each time anyway.
manually verified that the slowdown with filters is gone, and that filtering still works