sailfish/sailfish-compiler/src
Newton Ni 01ba06707b Use timestamps for change detection
This commit changes the caching mechanism to use the timestamp of
all included templates instead of hashing the contents of the
root template.

The primary downside is that every build now has to parse, transform,
and resolve the input templates instead of just reading and hashing
the data--I didn't measure how much more expensive this is, but it
seems unavoidable if we need information about child templates.
Maybe a hacky regex-based approach could work as an alternative to
a complete parse.

On the bright side, this approach rebuilds parent templates correctly
when a child template has changed, and doesn't require garbage collection
for old compiled template files.
2023-10-02 13:21:29 -05:00
..
analyzer.rs Add analyzer.rs 2021-02-04 03:11:17 +09:00
compiler.rs Use timestamps for change detection 2023-10-02 13:21:29 -05:00
config.rs Update config.rs and procmacro.rs 2023-07-28 10:28:02 -04:00
error.rs Update error format 2020-12-16 15:38:28 +09:00
lib.rs Add analyzer.rs 2021-02-04 03:11:17 +09:00
optimizer.rs dep: update syn to v2 (#115) 2023-04-12 10:02:05 -04:00
parser.rs switched introductory symbol to + 2023-01-24 07:58:40 -08:00
procmacro.rs Use timestamps for change detection 2023-10-02 13:21:29 -05:00
resolver.rs dep: update syn to v2 (#115) 2023-04-12 10:02:05 -04:00
translator.rs dep: update syn to v2 (#115) 2023-04-12 10:02:05 -04:00
util.rs Use timestamps for change detection 2023-10-02 13:21:29 -05:00