Optimising Java Regular Expressions
Yesterday I had a bit of interesting work performancing tuning some code for our project’s current iteration. The code that required optimisation basically filtered some results in memory based on a set of user-specified criteria. The criteria contained a variety of different datatypes (boolean, numeric and string) and my suspicions were confirmed after a bit of simplistic profiling that the biggest consumer of computation time was the string pattern matching that was being performed.
So here are a few tips for optimising Regular Expression usage in the Java langauge: (more…)
Comments(3)
After such a busy week at work (and somehow managing to operate on a minimal amount of sleep) I was fortunate enough to catch
Tonight the Rev hosted the musical talent of the