Performance Comparison of Function Evaluation Methods
Symbolic Computation
2025-10-20 v2 Numerical Analysis
Numerical Analysis
Abstract
We perform a comparison of the performance and efficiency of four different function evaluation methods: black-box functions, binary trees, -ary trees and string parsing. The test consists in evaluating 8 different functions of two variables over 5000 floating point values of the pair . The outcome of the test indicates that the -ary tree representation of algebraic expressions is the fastest method, closely followed by black-box function method, then by binary trees and lastly by string parsing.
Cite
@article{arxiv.cs/0206010,
title = {Performance Comparison of Function Evaluation Methods},
author = {Leo Liberti},
journal= {arXiv preprint arXiv:cs/0206010},
year = {2025}
}
Comments
Main conclusion of this paper is wrong due to a bug in the test code; see "Important warning" at the beginning of the paper