JuliaStaging / JuliaStaging/GeneralizedGenerated.jl

precompilation support like RuntimeGeneratedFunctions.jl

Open
#65 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
89
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/JuliaStaging/GeneralizedGenerated.jl/blob/master/src/ngg/compact.jl#L19) 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.