3 ms·Casting a value to an interface forces it to be allocated on the heap.by kgeist 3y agoCasting a value to an interface forces it to be allocated on the heap.