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

precompilation support like RuntimeGeneratedFunctions.jl #65

Open
thautwarm opened this issue Mar 22, 2021 · 0 comments
Open

precompilation support like RuntimeGeneratedFunctions.jl #65

thautwarm opened this issue Mar 22, 2021 · 0 comments

Comments

@thautwarm
Copy link
Member

So far caching GG's type encoding is unsafe when it comes to precompilation, as a result, several packages using GG need to consider some internal stuffs like implementing __init__.

GG v0.3 uses much less memory but makes this issue more severe.

The idea to address this is introducing per-package cache store(like RuntimeGeneratedFunctions.init) to work arbitrary precompilation. The way to integrate GG v0.3's memory efficient caching is making downstream packages hold their own cache pools and indices(shall not change after building the module), while those caches will be copied/merged into the big pool held by GG after downstream's module loading.

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

No branches or pull requests

1 participant