阅读背景:

Java RegExp:哪个更快:一系列简单的还是一个复杂的?

来源:互联网 

I am writing a program that has to strip pretty long strings of quite a lot of rubbish. I do that using regular expressions, and as my program is rather sensitive in terms of speed, I need to know which of the solutions is faster: Using a number of consecutive relatively simple regular expressions, or using a single but quite a complex one?I am writing a program that has to strip pretty




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: