Hacker News new | comments | show | ask | jobs | submit login
Implementing Mixins in Smalltalk (1996) [pdf] (esug.org)
23 points by brudgers 11 months ago | hide | past | web | favorite | 1 comment

The implementation forwards unknown messages to the first mixin that implements the message, if any. I think forwarding messages through #perform: is very much slower than sending messages directly.

Are there Smalltalk implementations that optimize #perform:? How? Are there implementations that look for forwarding patterns of #doesNotUnderstand: + #perform:, and that add the destination to the inline cache of the original send?

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact