A short note concerning lazy reduction rules for append
暂无分享,去创建一个
We show that informing a lazy evaluator that the APPEND operator is associative reduces the overall worst case performance from O(n2) to O(n).
[1] D. A. Turner,et al. A new implementation technique for applicative languages , 1979, Softw. Pract. Exp..