Skip to content
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

Clean up implementation (step 3) #173

Merged
merged 8 commits into from Sep 21, 2014

Conversation

Projects
None yet
3 participants
@tomaka
Copy link
Collaborator

tomaka commented Sep 17, 2014

Generators are now building AST instead of strings

Most of the code uses quote_*! macros, but some functions use ecx.parse_item because quotes are unable to do what these functions want to do.

Warning: compilation time

This PR doesn't seem to change considerably the compilation time of gl-rs (there seems to be a very minor reduction).
However on my local PC, compiling gl_generator goes from 9 seconds (before this PR) to 29 seconds (after).

Because of this change I'm not sure whether we should merge this.

@tomaka tomaka force-pushed the tomaka:cleanup-3 branch 2 times, most recently from b43b551 to 6f1de1d Sep 17, 2014

@tomaka tomaka force-pushed the tomaka:cleanup-3 branch from dc4b457 to 5262992 Sep 18, 2014

@tomaka tomaka changed the title [WIP] Clean up implementation (step 3) Clean up implementation (step 3) Sep 18, 2014

@cmr

This comment has been minimized.

Copy link
Collaborator

cmr commented Sep 18, 2014

I'm happy merging this.

@brendanzab

This comment has been minimized.

Copy link
Owner

brendanzab commented Sep 21, 2014

I am going to re-run travis on this, but I think we should merge. Sorry for the delay.

brendanzab added a commit that referenced this pull request Sep 21, 2014

Merge pull request #173 from tomaka/cleanup-3
Clean up implementation (step 3)

@brendanzab brendanzab merged commit ecad201 into brendanzab:master Sep 21, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@tomaka tomaka deleted the tomaka:cleanup-3 branch Sep 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.