Dan Sugalski wrote:
> And, unless Larry objects, I feel that all vtable methods should have 
> the option of going with a 'scalar native' form if the operation if it's
> determined at runtime that two scalars are the same type, though this is
> optional and bay be skipped for cost reasons. (Doing it with, for 
> example, complex numbers might be worth it, or when expensive 
> conversions might be avoided)

just a quick comment on complex numbers. i would have thought the idea would be
to treat them as pairs? ie (Real Part, Imaginary Part). this would mean that the
standard things that are being done for ints etc would also benefit complex
numbers. the only things worth considering at this level might be ways of
optimising pair operations for efficency? Anyway, i'm not sure that complex
numbers is really an internals issue?

peter

Reply via email to