
Hi, Am Dienstag, den 29.11.2011, 14:20 +1100 schrieb Ivan Lazar Miljenovic:
There's still the tension of whether to put particular functions as class methods or not though (e.g. just look at these proposals about whether to include certain functions).
I’d expect that in a lot of uses, the type is known at compile time. In that case, the general of a function that is not part of the class can be replaced by an optimized function using RULES, can’t it? But this is not perfect, because non-inlined code that is itself still polymorphic would not benefit from that. Greetings, Joachim -- Joachim "nomeata" Breitner mail@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/