4 ms·
I think it’s the opposite. It’s not going to happen with the instance method version, because patching instance creation is much harder. Patching within the sco
by mlthoughts2018 6y ago
I think it’s the opposite. It’s not going to happen with the instance method version, because patching instance creation is much harder. Patching within the scope of heap_sort is much simpler. I actually gave a real example of this in another comment not long ago:
https://news.ycombinator.com/item?id=23573358 https://news.ycombinator.com/item?id=23573358