mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

271K
active users

Eugen Rochko

What's new in 2.6

medium.com/tailor-tech/whats-n

The JIT compiler and Array#to_h change are exciting. I could get rid of some intermediate arrays in Mastodon with that... Unfortunately, we're gonna have to support Ruby 2.3, 2.4 and 2.5 for a while so that's not going to be possible yet

medium.comWhat’s new in Ruby 2.6? – Tailor Tech – MediumRuby 2.1 was released on Christmas 2013 and the tradition followed since with each new version released in the following Christmas, what…

@Gargron I wonder if the to_h change could be packaged as a gem to backport it to older versions of ruby

@leifurhauks Is it possible to avoid an intermediary array without compiler support? Of course it could just polyfill the same method signature but without the performance improvement...

@leifurhauks I looked at how it's done and it's essentially an each_with_object so easy to backfill, and I could easily rewrite those calls to use each_with_object directly anyway...

@Gargron @leifurhauks it's like when half things in JS library tend to be written in JS (like most of the Promises) or when polyfilled generators based on switch are faster than native ones.