4 ms·
Are you expecting that code to be maintainable? It looks like it's been run through a minifier...
by proaralyst 9y ago
Are you expecting that code to be maintainable? It looks like it's been run through a minifier...
- __s 9y agoNope, 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))