You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
vm.Module doesn't have createCachedData() like vm.Script does, nor an option to pass a code cache to its constructor.
Describe the solution you'd like
For applications where module graph startup time is critical, and we're instantiating the same module graph repeatedly, it would be very helpful to have some analogs to createCachedData(). In my cases the module graph is identical, so even the result of linking will be the same.
Describe alternatives you've considered
Currently there are none.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
vm.Module doesn't have
createCachedData()
like vm.Script does, nor an option to pass a code cache to its constructor.Describe the solution you'd like
For applications where module graph startup time is critical, and we're instantiating the same module graph repeatedly, it would be very helpful to have some analogs to
createCachedData()
. In my cases the module graph is identical, so even the result of linking will be the same.Describe alternatives you've considered
Currently there are none.
The text was updated successfully, but these errors were encountered: