equal? が遅い

R6RS equal? は循環を検知して停止しないといけない。
今の Mosh の equal? 実装は遅いので

  • Efficient Nondestructive Equality Checking for Trees and Graphs
  • Michael D. Adams and R. Kent Dybvig
  • ICFP 2008

という論文を読もうと思う。どこかで無料版を見つけないと。