Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 26s8 days 9 hours 54 minutes 26 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 26s8 days 9 hours 54 minutes 26 seconds.

Sign in to watch this lesson
Runtime Polymorphism · 3:40
How does one call find the right function while the program runs? We watch an object grow by eight bytes when its first virtual function appears, follow the hidden vptr into its class's table of function addresses, read the three arm64 instructions clang emits for a virtual call, and measure what it really costs, including the inlining it gives up.