5 ms·
How is structural typing implemented efficiently?
by beza1e1 15y ago
How is structural typing implemented efficiently?
- enneff 15y agohttp://research.swtch.com/2009/12/go-data-structures-interfaces.html http://research.swtch.com/2009/12/go-data-structures-interfa...
- beza1e1 15y agoThanks for the link. Computing vtables during run time would have been my idea as well. Sorting the vtable is a nice trick to reduce the complexity.