中文

Performance Comparison of Function Evaluation Methods

符号计算 2025-10-20 v2 数值分析 数值分析

摘要

We perform a comparison of the performance and efficiency of four different function evaluation methods: black-box functions, binary trees, nn-ary trees and string parsing. The test consists in evaluating 8 different functions of two variables x,yx,y over 5000 floating point values of the pair (x,y)(x,y). The outcome of the test indicates that the nn-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.

引用

@article{arxiv.cs/0206010,
  title  = {Performance Comparison of Function Evaluation Methods},
  author = {Leo Liberti},
  journal= {arXiv preprint arXiv:cs/0206010},
  year   = {2025}
}

备注

Main conclusion of this paper is wrong due to a bug in the test code; see "Important warning" at the beginning of the paper