为什么复合术语在性能方面优于列表?例如,
matrix(row(1,2,3),row(1,2,3),row(1,2,3))
比...好
[[1,2,3],[1,2,3],[1,2,3],[1,2,3]]
谢谢!
list prolog term
list ×1
prolog ×1
term ×1