Money Forward, Inc. hire Shyouhei, a long-time ruby-core committer, to contribute to the whole ruby ecosystem. Being a full-time ruby-core developer, his current interest is to speed up ruby execution by modifying its internals. Doing so is not straight-forward because of ruby's highly dynamic nature. To tackle this problem he is implementing a variety of optimisation techniques that are yet to be applied to it.
The send-pop optimisation
"Sending a method to an object, then discarding its return value immediately" is one of the most frequent operations that ruby does. By eliminating such wastes of time and memory, ruby execution could be much more efficient. I will share you some stories and outcomes of my journey trying to optimise that part.