Rewrite ignore compiler

The compiler now generates Python code internally. The resulting
callable should be much faster.