good point. First of all we need a quick benchmark (perhaps a new file in cassovary-examples) so that actual performance can be checked when generating a large graph. This will help not-optimize in the blind.

I think the simplest might be to go back to your old non-array based random subset selection (sorry for making you change that to array-based).