Skip to content

Issue 13232 - avoid expensive template instantiations on module import #2392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2014

Conversation

MartinNowak
Copy link
Member

  • hide std.uni.TrieBuilder instantiations behind functions

Issue 13232

- hide std.uni.TrieBuilder instantiations behind functions
@quickfur
Copy link
Member

quickfur commented Aug 1, 2014

LGTM. But I'll defer to Dmitry to have the final say on whether this should merge.

@MartinNowak MartinNowak added this to the 2.066 milestone Aug 1, 2014
@MartinNowak
Copy link
Member Author

@DmitryOlshansky can you have a look at this?

@DmitryOlshansky
Copy link
Member

I recall being not sure if these aliases would make it compile the functions eagerly. Turns out they do. LGTM, thanks @MartinNowak .

@DmitryOlshansky
Copy link
Member

Auto-merge toggled on

DmitryOlshansky added a commit that referenced this pull request Aug 1, 2014
Issue 13232 - avoid expensive template instantiations on module import
@DmitryOlshansky DmitryOlshansky merged commit fe70d23 into dlang:master Aug 1, 2014
@MartinNowak MartinNowak deleted the fix13232 branch August 2, 2014 04:28
@MartinNowak
Copy link
Member Author

I recall being not sure if these aliases would make it compile the functions eagerly.

It really shouldn't be eager. I opened an enhancement request to improve the compiler.
https://issues.dlang.org/show_bug.cgi?id=13242

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.

3 participants