Post
The reason `obj.my_method` is so much faster, is because of inline caching. I learned about this from byroots JSON optimization series, and from my own work to add a new instruction to the VM. I thought the compiler would do some magic and make them equivalent. /4
0 reposts2 likes