Don't compile Pattern every time through PatternsMatcher
Don't compile Pattern every time through PatternsMatcher

Summary:
Per the performance notes in their documentation
(https://google.github.io/guava/releases/21.0/api/docs/com/google/common/collect/Iterables.html),
the functions in Google's Iterables module are lazy and don't
materialize the transformed Iterable. As a consequence, we compiled the regexes for output attributes every single time.

Test Plan:
Profiled a buck query with warm cache. Pattern.compile no
longer shows up as a hot spot, and query seems to run faster.

Reviewed By: styurin

fbshipit-source-id: 2ada9b7

nguyentruongtho/buck,shs96c/buck,brettwooldridge/buck,romanoid/buck,JoelMarcey/buck,rmaz/buck,JoelMarcey/buck,brettwooldridge/buck,rmaz/buck,zpao/buck,Addepar/buck,romanoid/buck,facebook/buck,ilya-klyuchnikov/buck,shs96c/buck,romanoid/buck,Addepar/buck,ilya-klyuchnikov/buck,zpao/buck,clonetwin26/buck,ilya-klyuchnikov/buck,romanoid/buck,LegNeato/buck,JoelMarcey/buck,SeleniumHQ/buck,brettwooldridge/buck,facebook/buck,kageiit/buck,JoelMarcey/buck,Addepar/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,brettwooldridge/buck,kageiit/buck,brettwooldridge/buck,facebook/buck,Addepar/buck,zpao/buck,romanoid/buck,zpao/buck,Addepar/buck,rmaz/buck,SeleniumHQ/buck,nguyentruongtho/buck,kageiit/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,JoelMarcey/buck,shs96c/buck,nguyentruongtho/buck,ilya-klyuchnikov/buck,Addepar/buck,SeleniumHQ/buck,romanoid/buck,SeleniumHQ/buck,shs96c/buck,SeleniumHQ/buck,LegNeato/buck,JoelMarcey/buck,LegNeato/buck,rmaz/buck,SeleniumHQ/buck,clonetwin26/buck,clonetwin26/buck,Addepar/buck,romanoid/buck,LegNeato/buck,rmaz/buck,ilya-klyuchnikov/buck,nguyentruongtho/buck,clonetwin26/buck,facebook/buck,ilya-klyuchnikov/buck,clonetwin26/buck,Addepar/buck,brettwooldridge/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,LegNeato/buck,shs96c/buck,kageiit/buck,shs96c/buck,rmaz/buck,SeleniumHQ/buck,rmaz/buck,zpao/buck,JoelMarcey/buck,JoelMarcey/buck,clonetwin26/buck,romanoid/buck,Addepar/buck,SeleniumHQ/buck,nguyentruongtho/buck,JoelMarcey/buck,clonetwin26/buck,shs96c/buck,brettwooldridge/buck,Addepar/buck,shs96c/buck,shs96c/buck,shs96c/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,brettwooldridge/buck,kageiit/buck,romanoid/buck,LegNeato/buck,rmaz/buck,clonetwin26/buck,ilya-klyuchnikov/buck,shs96c/buck,ilya-klyuchnikov/buck,Addepar/buck,LegNeato/buck,zpao/buck,romanoid/buck,brettwooldridge/buck,clonetwin26/buck,rmaz/buck,brettwooldridge/buck,shs96c/buck,zpao/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,LegNeato/buck,LegNeato/buck,shs96c/buck,clonetwin26/buck,Addepar/buck,SeleniumHQ/buck,facebook/buck,facebook/buck,rmaz/buck,nguyentruongtho/buck,romanoid/buck,LegNeato/buck,clonetwin26/buck,romanoid/buck,facebook/buck,LegNeato/buck,SeleniumHQ/buck,Addepar/buck,rmaz/buck,kageiit/buck,JoelMarcey/buck,clonetwin26/buck,romanoid/buck,brettwooldridge/buck,LegNeato/buck,clonetwin26/buck,SeleniumHQ/buck,brettwooldridge/buck,kageiit/buck,nguyentruongtho/buck,JoelMarcey/buck,rmaz/buck,LegNeato/buck,rmaz/buck