Post

In hot code paths, do not listen to this man. You should, in fact, _not_ send it

JP Camara@jpcamara.com

TIL: In Ruby, there is a significant performance difference between calling `obj.my_method` vs calling `obj.send(:my_method)`. To be clear, "Significant" in this instance is more the realm of microbenchmarks, or very hot code path optimizations (hundreds of thousands/millions of calls). /🧵

0 reposts4 likes

No replies yet.