Roda 3.49.0 Released

Skip to first unread message

Jeremy Evans

Oct 13, 2021, 10:54:36 AM10/13/21
to Roda
Roda 3.49.0 has been released!

= Improvements

* The optimization added in 3.46.0 has been extended to optimize
  all single argument calls. This results in the following speedups
  based on argument type:

  * Hash/Class matching: 20%
  * Symbol matching: 25%
  * Array matching: 35%
  * Proc matching: 50%
  * false/nil matching: 65%

* Roda now uses defined?(yield) instead of block_given? internally
  for better performance on CRuby.  defined?(yield) is faster as it is
  built into the VM, while block_given? is a regular method and has
  the overhead of calling a regular method.  Note that defined?(yield)
  is not implemented correctly on JRuby before, so this
  release of Roda drops support for JRuby versions before

Reply all
Reply to author
0 new messages