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
Now that I have auto-sourcing of init.fnl and syncing of package.path to fennel.path working in the dev branch, eventually I'll want to look into caching/precompiling init.fnl and external plugin code for faster startup times.
Thinking I can just do a basic mtime check as part of either the require call or via a new function, compile to lua if the .fnl source is newer than the .lua source, otherwise require the lua instead. This naturally won't be done for require-macros.
One added complexity would be making sure it's tracing usage of the include special to make sure inlined files are also checked for modifications.
The text was updated successfully, but these errors were encountered:
Now that I have auto-sourcing of
init.fnl
and syncing ofpackage.path
tofennel.path
working in the dev branch, eventually I'll want to look into caching/precompilinginit.fnl
and external plugin code for faster startup times.Thinking I can just do a basic
mtime
check as part of either therequire
call or via a new function, compile to lua if the.fnl
source is newer than the.lua
source, otherwise require the lua instead. This naturally won't be done forrequire-macros
.One added complexity would be making sure it's tracing usage of the
include
special to make sure inlined files are also checked for modifications.The text was updated successfully, but these errors were encountered: