EFForg/https-everywhere — pull request #441 by jsha (2014-08-18 16:11:53+00:00)
Title: Speed up trivial-validate

This brings the time for trivial-validate from 17s to 7s on my machine.

Improvements: Precompile XPath queries and save the values of repeated queries. Precompile regexes. Read from sqlite instead of files to reduce number of filesystem operations.

Similar changes in make-sqlite.py bring it from 5.7 seconds to 3.7 seconds.