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

AST compressing #47

Open
thautwarm opened this issue May 14, 2020 · 1 comment
Open

AST compressing #47

thautwarm opened this issue May 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@thautwarm
Copy link
Member

thautwarm commented May 14, 2020

Generated functions(EDIT: in GG) encode the programs into types, in this way the world age problem got solved.

However, the encoded types finally become too large and crash the compiler: #46

An alternative solution is reducing the encoded types but keeping the information.

So far no idea of this approach but just now chatting with some one inspired me and I now thought this deserves some research.

A straightforwaed idea is constructing a bi mapping from a Julia AST to a flatten byte sequence, and the latter can be used as a value type.

@thautwarm thautwarm added the enhancement New feature or request label May 14, 2020
@thautwarm
Copy link
Member Author

If this works, #46 can get resolved.

YingboMa added a commit to YingboMa/GeneralizedGenerated.jl that referenced this issue Jun 10, 2020
YingboMa added a commit that referenced this issue Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant