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
Currently, when checking whether a module should be recompiled we always compute the hash of the source and compare with the stored hash. We could also store the modification time, assume the source hasn't changed if the modification time didn't change and compute the source hash only if it did change. This would speed up stored module loading.
The text was updated successfully, but these errors were encountered:
No significant performance improvement is achieved by checking modification time. The ~1s loading time for compiled standard library is due to deserialization of the saved compiled modules, not due to hash computation.
Currently, when checking whether a module should be recompiled we always compute the hash of the source and compare with the stored hash. We could also store the modification time, assume the source hasn't changed if the modification time didn't change and compute the source hash only if it did change. This would speed up stored module loading.
The text was updated successfully, but these errors were encountered: