By gregorin
via toomuchcoding.blogspot.com
Published: Dec 25 2012 / 16:02
Quite often in the code we can see that each time a regular expression is being used a programmer is repeatidly calling the aforementioned Pattern.compile() function with the same argument thus compiling the same regular expression over and over again. What could be done however is to cache the result of such compilations
Add your comment