What is going on behind the scenes when you mark a regular expression as one to be compiled? How does this compare/is different from a cached regular expression?
Using this information, how do you determine when the cost of computation is negligible compared to the performance increase?