precompile on startup

This commit is contained in:
udo
2022-01-31 00:42:16 +00:00
parent 3a9dfba86c
commit 0a6ebc60f0
31 changed files with 930 additions and 62 deletions
+3 -3
View File
@@ -20,8 +20,8 @@ RENDER()
for(auto i = 0; i < 100; i++)
{
print(i, ": ", (float)noise32(i)/(float)max_32, " / ", (float)noise64(i)/(float)max_64, " / ", noise01(i), " / ",
generate_int(0, 4, i), " / ", generate_float(0.0, 4.0, i), "\n");
print(i, ": ", (float)gen_noise32(i)/(float)max_32, " / ", (float)gen_noise64(i)/(float)max_64, " / ", gen_noise01(i), " / ",
gen_int(0, 4, i), " / ", gen_float(0.0, 4.0, i), "\n");
}
?></pre>
@@ -39,7 +39,7 @@ RENDER()
?></pre>
<div>
Sha1 of '1234': <?= sha1("1234") ?>
Sha1 of '1234': <?= gen_sha1("1234") ?>
</div>
Params