Hacker News new | ask | show | jobs
by kasperl 1669 days ago
Among other things, Toit uses the selector-based row displacement technique for building a compact method dispatch table that can be queried in constant time.

If you're into fast virtual method calls - also for dynamic languages - you might want to take a look at Karel Driesen's excellent PhD dissertation on the subject:

https://cs.ucsb.edu/sites/default/files/documents/1999-24.ps

2 comments

Oh, and full disclosure: I'm the author of the blog post.