My apologies. I only looked at seq and (mistakenly) assumed all were faster. On
my (rather slow) laptop, the results of the ptr benchmark are
refc:
Sequence 2.70ms/iter
List 2.99ms/iter
FastStack 2.23ms/iter
Boehm:
Sequence 2.43ms/iter
List 3.29ms/iter
FastStack 2.54ms/iter
FastStack with refc is indeed the winner, though seq with Boehm is not far
behind.
I get the same segfault. Will have to dig a bit more and see where the bug
lies. Hope it's not in the GC!
Edit: It seems Boehm is slower with the seq int benchmark, but faster with the
seq ptr case. I'd argue the seq int case isn't a very realistic test.