I'm against software patents to most degree.
Especially with algorithms.
I was rooting for Google when the JVM topic happened and I'm rooting for GitHub with autopilot.
And yes there is src from me on GitHub too but use it! I used so much other code in the last 15 years.
Copyright on algorithm or basic code should be a no go.