Description
@molpopgen has written here https://tskit-dev.slack.com/archives/C01JKJC5Y9G/p1698082329001319?thread_ts=1697956055.069829&cid=C01JKJC5Y9G that:
Edge sorting is totally unnecessary and is a big performance hit (even using the "bookmark"). fwdpyh11 has used this approach for several years now.
This would be good to merge into SLiM as well. I gather some work in tskit is needed to enable it (unless we hack SLiM's copy of tskit). I don't know how much work all of this is, as I don't really know what exactly Kevin is doing. But @petrelharp this would be a good thing for us to work on together at some point, I think. Perhaps soon, if you think it would be easy. Getting rid of the edge table sort in SLiM entirely would be very nice – much better than trying to parallelize that sort (which does not have very good performance).