Skip to content

Conversation

JohanEngelen
Copy link
Member

We've had this at Weka for a long time. It is an escape hatch in case very very deep template instantiation leads to stack exhaustion in the recursive needsCodegen function.

@kinke
Copy link
Member

kinke commented Apr 29, 2024

Is this hack still required at Weka? The needsCodegen() stack pressure should have been improved significantly for a while now, in dlang/dmd#14787.

@JohanEngelen
Copy link
Member Author

I'll check whether it is needed with newer compilers (weka is currently still at 1.30)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants