Red Hat's issues in considering the D language
Jerry via Digitalmars-d
digitalmars-d at puremagic.com
Wed Dec 21 19:18:42 PST 2016
On Thursday, 22 December 2016 at 02:34:48 UTC, Stefan Koch wrote:
> On Thursday, 22 December 2016 at 02:32:30 UTC, Jerry wrote:
>> On Thursday, 22 December 2016 at 01:57:55 UTC, safety0ff wrote:
>>> On Thursday, 22 December 2016 at 01:30:44 UTC, Andrei
>>> Alexandrescu wrote:
>>>>
>>>> Must be a pathological case we should fix anyway. -- Andrei
>>>
>>> Likely related bug has been open 5 years minus 1 day:
>>> https://issues.dlang.org/show_bug.cgi?id=7157
>>
>> Yup looks like that was the cause. Removed some of the
>> functions that did a "foreach()" over some large tuples. Down
>> to 26 seconds with that removed.
>
> tuples as in compiler tuples ?
> The T... kind ?
Not using AliasSeq if that's what you mean. I don't know if the
"tupleof" for a struct would be considered the same as "T..." but
basically what I was doing:
foreach(ref field; myLargeStruct.tupleof)
{
}
More information about the Digitalmars-d
mailing list