Skip to content
Snippets Groups Projects
Commit 5e40ab13 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

patch to improve cache hit ratio

Rev: tutorial/wmmltohtml2:1.11
parent df1fdfa4
No related merge requests found
...@@ -9,6 +9,8 @@ import "."; ...@@ -9,6 +9,8 @@ import ".";
int main(int argc, string *argv) int main(int argc, string *argv)
{ {
random_seed(0); // increase cache hit potential
mixed *ER=catch { mixed *ER=catch {
program output=(program)argv[2]; program output=(program)argv[2];
if (!output) error("can't cast %O to program\n",argv[2]); if (!output) error("can't cast %O to program\n",argv[2]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment