CompiledEvaluator

CompiledEvaluator()

An compiled evaluator of an expression. This will give the highest performance of all evaluators.

Methods

Name Description
evaluate Evaluate the expression for multiple inputs and return the result.
evaluate_complex Evaluate the expression for multiple inputs and return the result.
evaluate_complex_flat Evaluate the expression for multiple inputs that are flattened and return the flattened result.
evaluate_flat Evaluate the expression for multiple inputs that are flattened and return the flattened result.
load Load a compiled library, previously generated with Evaluator.compile().

evaluate

CompiledEvaluator.evaluate(inputs)

Evaluate the expression for multiple inputs and return the result.

evaluate_complex

CompiledEvaluator.evaluate_complex(inputs)

Evaluate the expression for multiple inputs and return the result.

evaluate_complex_flat

CompiledEvaluator.evaluate_complex_flat(inputs)

Evaluate the expression for multiple inputs that are flattened and return the flattened result. This method has less overhead than evaluate_complex.

evaluate_flat

CompiledEvaluator.evaluate_flat(inputs)

Evaluate the expression for multiple inputs that are flattened and return the flattened result. This method has less overhead than evaluate.

load

CompiledEvaluator.load(_cls, filename, function_name, output_len)

Load a compiled library, previously generated with Evaluator.compile().