Damus
jb55 · 31w
its <= twice the size, not sure that really matters. I was also looking at https://www.jstatsoft.org/article/view/v011i03 which seems memory optimal but was more complex