Ruby’s performance is getting better and better with each release and the newly released 2.5.0
version is no different.
When programming in Ruby many people think that egregious memory usage is the norm and unavoidable.
However, there are ways and strategies to keep memory usage down and in this post I will show you
some of them.
In the previous post about HexaPDF I introduced the basic PDF object system. This post will
focus on one of the available object types, PDF streams and their filters.
After seeing one of Jamis Buck’s weekly programming challenges being the implementation of
a turtle graphics system, I decided to tackle this one using HexaPDF as backend.
There are some articles highlighting new features of the upcoming Ruby 2.4. I decided to run a
basic benchmark comparing Ruby 2.4 to Ruby 2.3.3 and was pleasantly surprised.