tmf: replace find() with matches() in CustomTxtTrace.java
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 27 Feb 2014 20:09:57 +0000 (15:09 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 14 Mar 2014 20:47:47 +0000 (16:47 -0400)
commit03e9dbb707c9b79237903257783a3125dffbd622
treee73ddd8c10478444e92fb376e08bb006a98cdefe
parent9d819ac743cee9b3f2765cba9cff3b836d01d67d
tmf: replace find() with matches() in CustomTxtTrace.java

This should provide a nice performance boost and make the regexes less
ambiguous.

With matches, the reader will match per line instead of searching for a
match. this can save up to an order of magnitude in reading.

Change-Id: I267426a9f2ab672590e35edafef2913ac32ac8f2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22637
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/parsers/custom/CustomTxtTrace.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomTxtParserInputWizardPage.java
This page took 0.026504 seconds and 5 git commands to generate.