joke2k/faker — pull request #126 by mdxs (2014-07-02 16:35:46+00:00)
Title: Improve base provider

Speed improvements to the `BaseProvider` by pre-compiling the regular expressions and using `random.choice` to select from a sequence. Also applied PEP8 rules (using `pep8` v1.5.7).