27 ms·
Nope, haven't had to maintain it in years. I did have to port it to Python3 which was a pain & grew it by ~30 bytes. The minifier was myself. It could actually
by __s 9y ago
Nope, haven't had to maintain it in years. I did have to port it to Python3 which was a pain & grew it by ~30 bytes. The minifier was myself. It could actually be tighter but I optimized it for gzipability since I put it through a build tool to produce https://github.com/serprex/Crumb/blob/master/Crumb.py https://github.com/serprex/Crumb/blob/master/Crumb.py
I even did a C version https://github.com/serprex/Crumb/blob/master/Crumb.c https://github.com/serprex/Crumb/blob/master/Crumb.c which is a pretty boring implementation besides
while(p>q?(j=d==b?:i*q/p,i++<p):(i=c==a?:j*p/q,j++<q))