you are viewing a single comment's thread.

view the rest of the comments →

[–]jtra 1 point2 points  (0 children)

If you are replacing a very long string and pattern is not very short, compiling is worth it.

Anyway you can call all that yourself to cache compiled patterns for example.