08 Jun '16, 3pm

I added a section on how you reproduce the benchmarks I posted yesterday

In Crystal, it's a bit more complicated as there is no way to implement the equivalent of a "Fiber Pool". What we have to do is do an infinite loop until the last process signals a loop break. Within the loop we create a maximum number of fibers, wait for each one to signal that it finished through an individual channel and loop again to create a new fiber, and so on. Compared to yesterday's 59 seconds, this is much better:

Full article: http://www.akitaonrails.com/2016/06/07/manga-downloadr-im...

Tweets

[Manga-Downloadr] Improving the Crystal/Ruby fr...

rubyflow.com 07 Jun '16, 8pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

[Manga-Downloadr] Improving the Crystal/Ruby fr...

akitaonrails.com 07 Jun '16, 8pm

In Crystal, it's a bit more complicated as there is no way to implement the equivalent of a "Fiber Pool". What we have to ...

[Manga-Downloadr] Porting from Crystal to Ruby ...

rubyflow.com 06 Jun '16, 9pm

[Manga-Downloadr] Porting from Crystal to Ruby (and a bit of JRuby) by Fabio Akita — Yesterday In my path to learn more ab...

[Manga-Downloadr] Porting from Crystal to Ruby ...

akitaonrails.com 06 Jun '16, 9pm

I have this old pet project of mine called Manga Downloadr that I published in 2014. It was a very rough version. I was ex...