Returning tuples from functions
Jari-Matti Mäkelä
jmjmak at utu.fi.invalid
Tue May 1 15:55:27 PDT 2007
BCS wrote:
> niovol wrote:
>> When will it be possible? I have almost no experience in programming on
>> D. But I can't imagine how to solve my problem without using tuples.
>
> Here's a nasty hack I came up with a while ago
>
<snipped the nasty hack>
The only problem is that the struct version is 27 opcodes or 150% longer
that the inout/ref version at least on DMD/Linux. These hacks aren't very
useful until the optimizer gets better or something else great happens.
More information about the Digitalmars-d
mailing list