4 ms·
Casting one interface type to another involves a dynamic lookup, since you don't know what concrete type you're going to have at runtime. See http://research.sw
by brandonbloom 11y ago
Casting one interface type to another involves a dynamic lookup, since you don't know what concrete type you're going to have at runtime. See http://research.swtch.com/interfaces http://research.swtch.com/interfaces for context.
- mvdan 11y agoThis might be relevant: https://github.com/mvdan/interfacer/issues/19 https://github.com/mvdan/interfacer/issues/19 And thanks for the link! That should be useful to make a decision on what to do in that issue.