100x speed difference between indexof() and matches()

Being used by now to the usually blazing speed of CloverETL, I was stunned to see one of my graphs crawling at a pace of 10 records/second instead of the usual 1,000/s or better.

Upon investigation, I narrowed it down to one line of code in my Reformat block:

string myString = $0.SOMEFIELD;

if ((indexOf(myString, ‘STREET’)>=0))

When I replaced this with:

if (matches(myString, ‘.*STREET.*’)

My graph runs 100 times faster!!

Is this a known issue?

Hello,
we know about the problem (http://bug.cloveretl.org/view.php?id=4778) and we are working on resolving it.