2b11b9be20
Importing or executing a Hy file now loads the byte-compiled version if it exists and is up to date, and if not, the source is byte-compiled after it's parsed.
This change can speed up Hy a lot. Here are some examples comparing run times of the current master (
|
||
---|---|---|
.. | ||
contrib | ||
extra | ||
__init__.hy | ||
cons.hy | ||
core.hy | ||
defclass.hy | ||
language.hy | ||
mathematics.hy | ||
native_macros.hy | ||
py3_only_tests.hy | ||
quote.hy | ||
reader_macros.hy | ||
shadow.hy | ||
unless.hy | ||
when.hy | ||
with_decorator.hy | ||
with_test.hy |