precompile on startup
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
@@ -11,7 +11,7 @@ RENDER()
|
||||
</h1>
|
||||
<pre><?
|
||||
print("Base WD: " + get_cwd() + "\n");
|
||||
context->invoke("test2/working-dir-test.uce");
|
||||
render_file("test2/working-dir-test.uce");
|
||||
?></pre>
|
||||
<pre><?= var_dump(context->params) ?></pre>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user