3 ms·
I've been using a similar but flipped approach in my own interpreted language, creating a hash table for each method and then look for the object type as the ke
by raja_mukherji 7y ago
I've been using a similar but flipped approach in my own interpreted language, creating a hash table for each method and then look for the object type as the key. This allows me to check the parent types if an exact object type is not found. I then nest the tables for multiple dispatch.