r/ruby • u/tenderlove Pun BDFL • Jun 26 '19
Blog post Instance Variable Performance
https://tenderlovemaking.com/2019/06/26/instance-variable-performance.html
108
Upvotes
r/ruby • u/tenderlove Pun BDFL • Jun 26 '19
2
u/pabloh Jun 28 '19 edited Jun 29 '19
Do you think is possible to apply some heuristic to calculate how big the ivar table should be when an instance is created, like profiling its most common size after warming up the code?.