--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Haha, I had the same problem with the Hwang and Lin algorithm. The current version doesn't even use it, because I found it was faster (and far simpler) to just use a repeated binary search and insert. Basically once I implemented the algorithm from the paper and verified that it worked, I went back and wrote a new and simplified version that sorta does the same thing.
If you make a "port" that is just a literal translation of the C code for now, I can maintain it for you while I finish up the remaining bits and pieces – it's only "99%" finished right now. Then you could finish turning it into proper Go code from there. Or if you don't have enough free time soon I'll probably have it finished up soon anyway.