class Tilt::Template

def self.cached_evaluate(scope, locals, &block)

Redefine itself to use method compilation the next time:
def self.cached_evaluate(scope, locals, &block)
  method = compiled_method(locals.keys)
  method.bind(scope).call(locals, &block)
end