2 ms·
This is the reason: "This design also differs from C++ in that vtable pointers are not stored in objects, but are part of an interface type reference. This dec
by wvenable 12y ago
This is the reason:
"This design also differs from C++ in that vtable pointers are not stored in objects, but are part of an interface type reference. This decision is particularly appropriate to the language, since Loci doesn’t require classes to explicitly implement interfaces"
- tomp 12y agoThis is irrelevant. Every time an object is cast to an interface, the compiler needs to know the definition of that interface. Therefore, it's just as easy to generate a hashtable or an array.